mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
Merge pull request #244177 from DeterminateSystems/initrd-chase-symlinks
nixos/boot/stage-1: chase symlinks when copying binaries
This commit is contained in:
commit
5016dee6b1
@ -102,7 +102,7 @@ let
|
||||
|
||||
copy_bin_and_libs () {
|
||||
[ -f "$out/bin/$(basename $1)" ] && rm "$out/bin/$(basename $1)"
|
||||
cp -pdv $1 $out/bin
|
||||
cp -pdvH $1 $out/bin
|
||||
}
|
||||
|
||||
# Copy BusyBox.
|
||||
|
Loading…
Reference in New Issue
Block a user