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:
parent
0e6fc5c4e6
commit
ece4c62d4b
|
@ -88,7 +88,7 @@ in with pkgs; rec {
|
||||||
'' else throw "unsupported libc for bootstrap tools")
|
'' else throw "unsupported libc for bootstrap tools")
|
||||||
+ ''
|
+ ''
|
||||||
# Copy coreutils, bash, etc.
|
# 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)
|
(cd $out/bin && rm vdir dir sha*sum pinky factor pathchk runcon shuf who whoami shred users)
|
||||||
|
|
||||||
cp ${bash.out}/bin/bash $out/bin
|
cp ${bash.out}/bin/bash $out/bin
|
||||||
|
|
Loading…
Reference in New Issue