* Use insmod from module_init_tools in the initrd, since the latest
klibc no longer has it. svn path=/nixos/branches/modular-nixos/; revision=16019
This commit is contained in:
parent
97a4e1fcb3
commit
0f6d7c8862
@ -177,6 +177,9 @@ let
|
|||||||
cp ${pkgs.bash}/bin/bash $out/bin
|
cp ${pkgs.bash}/bin/bash $out/bin
|
||||||
ln -s bash $out/bin/sh
|
ln -s bash $out/bin/sh
|
||||||
|
|
||||||
|
# Copy insmod.
|
||||||
|
cp ${pkgs.module_init_tools}/sbin/insmod $out/bin
|
||||||
|
|
||||||
${config.boot.initrd.extraUtilsCommands}
|
${config.boot.initrd.extraUtilsCommands}
|
||||||
|
|
||||||
# Run patchelf to make the programs refer to the copied libraries.
|
# Run patchelf to make the programs refer to the copied libraries.
|
||||||
@ -207,6 +210,7 @@ let
|
|||||||
$out/bin/reiserfsck -V
|
$out/bin/reiserfsck -V
|
||||||
$out/bin/mdadm --version
|
$out/bin/mdadm --version
|
||||||
$out/bin/basename --version
|
$out/bin/basename --version
|
||||||
|
$out/bin/insmod --version
|
||||||
''; # */
|
''; # */
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user