diff options
Diffstat (limited to 'draklive')
-rwxr-xr-x | draklive | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -649,6 +649,11 @@ sub create_classical_bootloader { output_p($live->get_system_root . '/boot/grub/menu.lst', build_grub_cfg_raw($live, $live->{media}, -e $initrd && $initrd_prefix, { oem_rescue_idx => $oem_rescue_idx }, $part_idx)); } +sub create_tarball { + my ($live) = @_; + run_("tar", "cjf", get_disk_master_prefix($live) . ".tar.bz2", $live->get_system_root); +} + sub set_device_label { my ($device, $type, $label) = @_; if ($type eq 'vfat') { @@ -1595,6 +1600,7 @@ my @actions = ( { name => 'post-install', do => \&post_install_system }, { name => 'initrd', do => \&create_initrd }, { name => 'boot', do => \&prepare_bootloader }, + { name => 'tarball', do => \&create_tarball }, { name => 'loop', do => \&create_loopback_files }, { name => 'master', do => \&create_master }, { name => 'image', do => \&create_image }, @@ -1664,6 +1670,7 @@ draklive [options] --install install selected distribution in chroot --boot prepare initrd and bootloader files + --tarball build chroot tarball --loop build compressed loopback files --master build master image --image build compressed master image |