Merge pull request #244177 from DeterminateSystems/initrd-chase-symlinks

nixos/boot/stage-1: chase symlinks when copying binaries
This commit is contained in:
Linus Heckemann
2023-07-19 14:26:55 +02:00
committed by GitHub
+1 -1
View File
@@ -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.