about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWill Fancher <elvishjerricco@gmail.com>2023-07-20 00:05:41 -0400
committerGitHub <noreply@github.com>2023-07-20 00:05:41 -0400
commitfad65047fa8084f966cac4fae316bc08fda55edb (patch)
tree2954aebd05839c27b7e0ca9c8af46be6fcabd917
parentd60110fd977181eb70c85534b88f757d4755a2f1 (diff)
parent2e60058b9539a05001f6b76f178c9e9857478f8a (diff)
Merge pull request #244445 from NixOS/revert-244177-initrd-chase-symlinks
Revert "nixos/boot/stage-1: chase symlinks when copying binaries"
-rw-r--r--nixos/modules/system/boot/stage-1.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/stage-1.nix b/nixos/modules/system/boot/stage-1.nix
index 1e52bd9e02f77..eec3461de7e77 100644
--- a/nixos/modules/system/boot/stage-1.nix
+++ b/nixos/modules/system/boot/stage-1.nix
@@ -102,7 +102,7 @@ let
 
       copy_bin_and_libs () {
         [ -f "$out/bin/$(basename $1)" ] && rm "$out/bin/$(basename $1)"
-        cp -pdvH $1 $out/bin
+        cp -pdv $1 $out/bin
       }
 
       # Copy BusyBox.