Revert "Create dmg with genisoimage & libdmg-hfsplus"
This reverts commit 08e1db494d
.
This commit is contained in:
parent
992311c185
commit
b7d7ac4623
|
@ -41,5 +41,18 @@ ln -s /Applications "$TMP/Applications"
|
|||
# copies the prepared bundle into the dir that will become the DMG
|
||||
cp -R "$IN" "$TMP"
|
||||
|
||||
genisoimage -D -V "Clementine" -no-pad -r -apple -o $NAME.iso $TMP
|
||||
dmg dmg $NAME.iso $OUT
|
||||
# create
|
||||
hdiutil makehybrid -hfs -hfs-volume-name Clementine -hfs-openfolder "$TMP" "$TMP" -o tmp.dmg
|
||||
hdiutil convert -format UDZO -imagekey zlib-level=9 tmp.dmg -o "$OUT"
|
||||
|
||||
# cleanup
|
||||
rm tmp.dmg
|
||||
|
||||
#hdiutil create -srcfolder "$TMP" \
|
||||
# -format UDZO -imagekey zlib-level=9 \
|
||||
# -scrub \
|
||||
# "$OUT" \
|
||||
# || die "Error creating DMG :("
|
||||
|
||||
# done !
|
||||
echo 'DMG size:' `du -hs "$OUT" | awk '{print $1}'`
|
||||
|
|
Loading…
Reference in New Issue