diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-02-16 23:15:26 -0600 |
---|---|---|
committer | Thorsten Behrens <tbehrens@suse.com> | 2012-02-17 09:45:36 +0100 |
commit | 1aeccb314ebbc0ae2bba1c926f99ee7ec0f0aae0 (patch) | |
tree | 83d5d8d6d7eebc220f43a9a265fabc115d26865a /solenv | |
parent | 9315b52380648c83db09b171a92134f8d2e4de5d (diff) |
use bzip2 compression for dmg
On MacOSX the installable packages (dmg), can use diverse format and
diverse compression method.
Since 10.4 a new format is supported that use bzip2 as a compression
back-end. The result if a reduction of ~30MB of the main dmg.
Signed-off-by: Thorsten Behrens <tbehrens@suse.com>
Diffstat (limited to 'solenv')
-rwxr-xr-x | solenv/bin/modules/installer/simplepackage.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/bin/modules/installer/simplepackage.pm b/solenv/bin/modules/installer/simplepackage.pm index 8c0e9ee0be79..8bd8bda67044 100755 --- a/solenv/bin/modules/installer/simplepackage.pm +++ b/solenv/bin/modules/installer/simplepackage.pm @@ -535,7 +535,7 @@ sub create_package chdir $localfrom; } - $systemcall = "cd $localtempdir && hdiutil makehybrid -hfs -hfs-openfolder $folder $folder -hfs-volume-name \"$volume_name\" -ov -o $installdir/tmp && hdiutil convert -ov -format UDZO $installdir/tmp.dmg -o $archive && "; + $systemcall = "cd $localtempdir && hdiutil makehybrid -hfs -hfs-openfolder $folder $folder -hfs-volume-name \"$volume_name\" -ov -o $installdir/tmp && hdiutil convert -ov -format UDBZ $installdir/tmp.dmg -o $archive && "; if (( $ref ne "" ) && ( $$ref ne "" )) { $systemcall .= "hdiutil unflatten $archive && Rez -a $$ref -o $archive && hdiutil flatten $archive &&"; } |