From 8d09b9066c4f0eb4a0e29aa3e491ca7c7142dc9f Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 22 Dec 2006 23:51:18 +0000 Subject: [PATCH] * Purity: don't access /etc/modules.conf. svn path=/nixos/trunk/; revision=7467 --- helpers/modules-closure.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers/modules-closure.sh b/helpers/modules-closure.sh index c5fcbba87f1..a9b36709607 100644 --- a/helpers/modules-closure.sh +++ b/helpers/modules-closure.sh @@ -14,7 +14,7 @@ export MODULE_DIR=$kernel/lib/modules/ closure= for module in $rootModules; do echo "root module: $module" - deps=$(modprobe --set-version "$version" --show-depends "$module" \ + deps=$(modprobe --config /dev/null --set-version "$version" --show-depends "$module" \ | sed 's/^insmod //') for i in $deps; do echo $i; done closure="$closure $deps"