* Purity: don't access /etc/modules.conf.
svn path=/nixos/trunk/; revision=7467
This commit is contained in:
parent
f25ce41c18
commit
8d09b9066c
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue