Commit 9c0bfe1e authored by Jesse van den Kieboom's avatar Jesse van den Kieboom

[osx] Compress template image

parent 1072f058
......@@ -54,7 +54,9 @@ function cmd_dmg() {
TMPNAME="${DMG_FILE%.dmg}_tmp.dmg"
cp "$D/data/template.dmg" "$TMPNAME"
cp "$D/data/template.dmg.bz2" "$TMPNAME.bz2"
bunzip2 "$TMPNAME.bz2"
hdiutil resize -size ${image_size}m "$TMPNAME" || exit 1
echo "Attaching to disk image..."
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment