mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-13 05:47:29 +00:00
amazon-image.nix: Overwrite busybox swapon
This commit is contained in:
parent
7fec575976
commit
fb565f1a4e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user