modprobe --show-depends now spits out 'builtin' if a requested module is, well, built-in

svn path=/nixpkgs/trunk/; revision=29560
This commit is contained in:
Shea Levy 2011-10-02 11:50:19 +00:00
parent 34144e835d
commit 36910c10e5

View File

@ -18,7 +18,10 @@ for module in $rootModules; do
| sed 's/^insmod //') \
|| if test -z "$allowMissing"; then exit 1; fi
#for i in $deps; do echo $i; done
if [ "$deps" -ne "builtin" ]
then
closure="$closure $deps"
fi
done
echo "closure:"