diff options
author | William A. Kennington III <william@wkennington.com> | 2015-03-28 17:15:41 -0700 |
---|---|---|
committer | William A. Kennington III <william@wkennington.com> | 2015-03-28 18:37:29 -0700 |
commit | 4868649f037c4fe80034f281212b8ccd2d0ac148 (patch) | |
tree | bd56e8aef16495981a03e8c41e300d0ee03bed02 /nixos/maintainers | |
parent | b1e854d660b03cc3f7f25dce44e673b9e5bcaf32 (diff) |
nixos/initrd: Generic library copying
Diffstat (limited to 'nixos/maintainers')
-rw-r--r-- | nixos/maintainers/scripts/ec2/amazon-hvm-install-config.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/maintainers/scripts/ec2/amazon-hvm-install-config.nix b/nixos/maintainers/scripts/ec2/amazon-hvm-install-config.nix index 530769cec5b7..c0ec38bf489a 100644 --- a/nixos/maintainers/scripts/ec2/amazon-hvm-install-config.nix +++ b/nixos/maintainers/scripts/ec2/amazon-hvm-install-config.nix @@ -23,9 +23,9 @@ in boot.kernelParams = [ "console=ttyS0" ]; boot.initrd.extraUtilsCommands = '' - cp -v ${pkgs.gawk}/bin/gawk $out/bin/gawk - cp -v ${pkgs.gnused}/bin/sed $out/bin/gnused - cp -v ${pkgs.utillinux}/sbin/sfdisk $out/bin/sfdisk + copy_bin_and_libs ${pkgs.gawk}/bin/gawk + copy_bin_and_libs ${pkgs.gnused}/bin/sed + copy_bin_and_libs ${pkgs.utillinux}/sbin/sfdisk cp -v ${growpart} $out/bin/growpart ''; boot.initrd.postDeviceCommands = '' |