* Purity: don't access /etc/modules.conf.

svn path=/nixos/trunk/; revision=7467
This commit is contained in:
Eelco Dolstra 2006-12-22 23:51:18 +00:00
parent f25ce41c18
commit 8d09b9066c

View File

@ -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"