Skip to content

Commit

Permalink
kmod's modprobe actually checks that the config directory is a directory
Browse files Browse the repository at this point in the history
svn path=/nixpkgs/branches/kmod-no-lib-modules/; revision=33597
  • Loading branch information
shlevy committed Apr 4, 2012
1 parent 31d0df7 commit 55612f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/build-support/kernel/modules-closure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export MODULE_DIR=$(readlink -f $kernel/lib/modules/)
closure=
for module in $rootModules; do
echo "root module: $module"
deps=$(modprobe --config /dev/null --set-version "$version" --show-depends "$module" \
deps=$(modprobe --config /var/empty --set-version "$version" --show-depends "$module" \
| sed 's/^insmod //') \
|| if test -z "$allowMissing"; then exit 1; fi
#for i in $deps; do echo $i; done
Expand Down

0 comments on commit 55612f9

Please sign in to comment.