makeModulesClosure: Small cleanup
This commit is contained in:
parent
72a30ae66f
commit
030838ba25
@ -9,7 +9,7 @@
|
|||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = kernel.name + "-shrunk";
|
name = kernel.name + "-shrunk";
|
||||||
builder = ./modules-closure.sh;
|
builder = ./modules-closure.sh;
|
||||||
buildInputs = [nukeReferences];
|
buildInputs = [ nukeReferences kmod ];
|
||||||
inherit kernel rootModules kmod allowMissing;
|
inherit kernel rootModules allowMissing;
|
||||||
allowedReferences = ["out"];
|
allowedReferences = ["out"];
|
||||||
}
|
}
|
||||||
|
@ -2,8 +2,6 @@ source $stdenv/setup
|
|||||||
|
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
|
||||||
PATH=$kmod/sbin:$PATH
|
|
||||||
|
|
||||||
version=$(cd $kernel/lib/modules && ls -d *)
|
version=$(cd $kernel/lib/modules && ls -d *)
|
||||||
|
|
||||||
echo "kernel version is $version"
|
echo "kernel version is $version"
|
||||||
|
Loading…
Reference in New Issue
Block a user