make-bootstrap-tools{,-cross}.nix: Create deterministic tars
This commit is contained in:
parent
53c039b96a
commit
3d50989651
2 changed files with 2 additions and 2 deletions
|
@ -235,7 +235,7 @@ rec {
|
|||
mv $out/.pack $out/pack
|
||||
|
||||
mkdir $out/on-server
|
||||
tar cvfJ $out/on-server/bootstrap-tools.tar.xz -C $out/pack .
|
||||
tar cvfJ $out/on-server/bootstrap-tools.tar.xz --hard-dereference --sort=name --numeric-owner --owner=0 --group=0 --mtime=@1 -C $out/pack .
|
||||
cp ${busyboxMinimal}/bin/busybox $out/on-server
|
||||
chmod u+w $out/on-server/busybox
|
||||
nuke-refs $out/on-server/busybox
|
||||
|
|
|
@ -146,7 +146,7 @@ rec {
|
|||
mv $out/.pack $out/pack
|
||||
|
||||
mkdir $out/on-server
|
||||
tar cvfJ $out/on-server/bootstrap-tools.tar.xz -C $out/pack .
|
||||
tar cvfJ $out/on-server/bootstrap-tools.tar.xz --hard-dereference --sort=name --numeric-owner --owner=0 --group=0 --mtime=@1 -C $out/pack .
|
||||
cp ${busyboxMinimal}/bin/busybox $out/on-server
|
||||
chmod u+w $out/on-server/busybox
|
||||
nuke-refs $out/on-server/busybox
|
||||
|
|
Loading…
Reference in a new issue