amazon-image.nix: Overwrite busybox swapon

This commit is contained in:
Shea Levy 2014-08-01 17:55:37 -04:00
parent 7fec575976
commit fb565f1a4e

View File

@ -172,7 +172,7 @@ in
boot.initrd.extraUtilsCommands =
''
# 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