make-bootstrap-tools: preserve coreutils symlinks

We go out of our way (see top of file) to build a single binary
with symlinks for all of the tools, but were losing them
when preparing the bootstrap tools.
This commit is contained in:
Will Dietz 2018-03-05 17:03:40 -06:00 committed by Tuomas Tynkkynen
parent 0e6fc5c4e6
commit ece4c62d4b

View file

@ -88,7 +88,7 @@ in with pkgs; rec {
'' else throw "unsupported libc for bootstrap tools")
+ ''
# Copy coreutils, bash, etc.
cp ${coreutilsMinimal.out}/bin/* $out/bin
cp -d ${coreutilsMinimal.out}/bin/* $out/bin
(cd $out/bin && rm vdir dir sha*sum pinky factor pathchk runcon shuf who whoami shred users)
cp ${bash.out}/bin/bash $out/bin