amazon-image.nix: Overwrite busybox swapon
This commit is contained in:
parent
7fec575976
commit
fb565f1a4e
@ -172,7 +172,7 @@ in
|
|||||||
boot.initrd.extraUtilsCommands =
|
boot.initrd.extraUtilsCommands =
|
||||||
''
|
''
|
||||||
# We need swapon in the initrd.
|
# We need swapon in the initrd.
|
||||||
cp ${pkgs.utillinux}/sbin/swapon $out/bin
|
cp --remove-destination ${pkgs.utillinux}/sbin/swapon $out/bin
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# Don't put old configurations in the GRUB menu. The user has no
|
# Don't put old configurations in the GRUB menu. The user has no
|
||||||
|
Loading…
x
Reference in New Issue
Block a user