Skip to main content
Sign in
Snippets Groups Projects
Verified Commit 0bd556ab authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame :jack_o_lantern:
Browse files

Bug 41527: Update libdmg-hfsplus and enable LZMA compression on dmgs.

parent 47f95213
No related branches found
No related tags found
1 merge request!1262Bug 41527: Update libdmg-hfsplus and enable LZMA compression on dmgs.
......@@ -37,7 +37,7 @@ hfsplus "$hfsfile" symlink /Applications /Applications
# Show the volume icon
hfsplus "$hfsfile" attr / C
dmg dmg "$hfsfile" [% c('dmg_out', { error_if_undef => 1 }) %]
dmg dmg --compression lzma --level 5 --run-sectors 2048 "$hfsfile" [% c('dmg_out', { error_if_undef => 1 }) %]
popd
rm -Rf "$dmg_tmpdir"
# vim: filetype=yaml sw=2
version: '[% c("abbrev") %]'
git_url: https://github.com/mozilla/libdmg-hfsplus
git_hash: a0a959bd25370c1c0a00c9ec525e3e78285adbf9
git_hash: d6287b5afc2406b398de42f74eba432f2123b937
filename: '[% project %]-[% c("version") %]-[% c("var/build_id") %].tar.[% c("compress_tar") %]'
container:
use_container: 1
......@@ -10,6 +10,7 @@ var:
- build-essential
- zlib1g-dev
- libbz2-dev
- liblzma-dev
input_files:
- project: container-image
- name: cmake
......
......
......@@ -57,7 +57,7 @@ hfsplus "$hfsfile" symlink /Applications /Applications
# Show the volume icon
hfsplus "$hfsfile" attr / C
dmg dmg "$hfsfile" "$dest_file"
dmg dmg --compression lzma --level 5 --run-sectors 2048 "$hfsfile" "$dest_file"
echo "Finished: " $(basename $dest_file)
......
......
......@@ -39,7 +39,7 @@ test -f $faketime_path || \
exit_error "$faketime_path is missing"
test -d $macos_stapled_dir || \
exit_error "The stapled macos zip files should be placed in directory $macos_stapled_dir"
libdmg_file="$script_dir/../../out/libdmg-hfsplus/libdmg-hfsplus-a0a959bd2537-f2819c.tar.zst"
libdmg_file="$script_dir/../../out/libdmg-hfsplus/libdmg-hfsplus-d6287b5afc24-6f206c.tar.zst"
test -f "$libdmg_file" || \
exit_error "$libdmg_file is missing." \
"You can build it with:" \
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment