mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 19:54:05 +00:00
* 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
Block a user