Skip to content

Commit

Permalink
try higher compression of VirtualBox .ova images
Browse files Browse the repository at this point in the history
  • Loading branch information
adrelanos committed Jul 24, 2022
1 parent 1677ee1 commit 428fecb
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions usr/bin/dm-prepare-release
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,20 @@ Please donate! [C]

## --vsys needs to precede --eulafile.

## https://forums.whonix.org/t/allow-us-to-download-the-vm-files-in-a-compressed-format-like-zip-7z-gzip-etc/14210/6
TAR_OPTIONS="\
$TAR_OPTIONS
--owner=0 --group=0 --numeric-owner \
--mode=go=rX,u+rw,a-s \
--sort=name \
--sparse \
--mtime='2015-10-21 00:00Z' \
--xz \
"
export TAR_OPTIONS
XZ_OPT="$XZ_OPT -9"
export XZ_OPT

if [ "$vm_multiple" = "false" ]; then
VBoxManage \
export "$VMNAME" \
Expand Down

0 comments on commit 428fecb

Please sign in to comment.