aboutsummaryrefslogtreecommitdiff
path: root/contrib/guix/libexec/codesign.sh
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2021-12-31 16:08:55 +0800
committerfanquake <fanquake@gmail.com>2022-04-11 10:34:30 +0100
commit1dd8cbfbc6318308b5e75023568f818ef6a9c7e4 (patch)
tree92fe972f2664bb1a1afbd4fd5bfd00c883fbc174 /contrib/guix/libexec/codesign.sh
parentcd110cdd0e55d6f68551f13383a1391bbe1017cb (diff)
downloadbitcoin-1dd8cbfbc6318308b5e75023568f818ef6a9c7e4.tar.xz
build: don't compress macOS DMG
Diffstat (limited to 'contrib/guix/libexec/codesign.sh')
-rwxr-xr-xcontrib/guix/libexec/codesign.sh7
1 files changed, 2 insertions, 5 deletions
diff --git a/contrib/guix/libexec/codesign.sh b/contrib/guix/libexec/codesign.sh
index 6ede95f42b..9a5d3a1ce5 100755
--- a/contrib/guix/libexec/codesign.sh
+++ b/contrib/guix/libexec/codesign.sh
@@ -84,14 +84,11 @@ mkdir -p "$DISTSRC"
# Apply detached codesignatures to dist/ (in-place)
signapple apply dist/Bitcoin-Qt.app codesignatures/osx/dist
- # Make an uncompressed DMG from dist/
+ # Make a DMG from dist/
xorrisofs -D -l -V "$(< osx_volname)" -no-pad -r -dir-mode 0755 \
- -o uncompressed.dmg \
+ -o "${OUTDIR}/${DISTNAME}-${HOST}.dmg" \
dist \
-- -volume_date all_file_dates ="$SOURCE_DATE_EPOCH"
-
- # Compress uncompressed.dmg and output to OUTDIR
- ./dmg dmg uncompressed.dmg "${OUTDIR}/${DISTNAME}-${HOST}.dmg"
;;
*)
exit 1