mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-13 03:09:37 +01:00
guix: Zip needs to include all files with time as SOURCE_DATE_EPOCH
The zip for codesigned MacOS distribution needs to have all files have
the same timestamp. These files also need to be included in the zip as
zip is not automatically recursive. We use the same pattern for zip as
is done for the other zip files produced by guix.
Github-Pull: #28757
Rebased-From: f6f18eeaa8
This commit is contained in:
parent
fe57abd7e9
commit
deccc50631
1 changed files with 5 additions and 1 deletions
|
@ -86,7 +86,11 @@ mkdir -p "$DISTSRC"
|
|||
signapple apply dist/Bitcoin-Qt.app codesignatures/osx/dist
|
||||
|
||||
# Make a .zip from dist/
|
||||
zip "${OUTDIR}/${DISTNAME}-${HOST}.zip" dist/*
|
||||
cd dist/
|
||||
find . -print0 \
|
||||
| xargs -0r touch --no-dereference --date="@${SOURCE_DATE_EPOCH}"
|
||||
find . | sort \
|
||||
| zip -X@ "${OUTDIR}/${DISTNAME}-${HOST}.zip"
|
||||
;;
|
||||
*)
|
||||
exit 1
|
||||
|
|
Loading…
Add table
Reference in a new issue