diff --git a/arkanium-build b/arkanium-build index eb8b3b8..eb3b869 100755 --- a/arkanium-build +++ b/arkanium-build @@ -14,6 +14,10 @@ if [[ ! -n $1 || -n $2 ]]; then Variants are loaded based on their directory names, the ones listed here are included by default. + + Variables: + ARKANIUM_NO_TAR Do not create a compressed tarball, only create the images + ARKANIUM_OVERWRITE_RANDOM Define a custom image name END exit 0 fi @@ -170,8 +174,10 @@ if [[ $type == 'archlinux' ]]; then btrfs send -f $output_target/$image_name/$image_name-etc.img $workdir/etc btrfs send -f $output_target/$image_name/$image_name-var.img $workdir/var - printf "\e[1;34m-->\e[0m\e[1m Compressing images...\e[0m\n" - tar -cv -I 'zstd -12 -T0 ' -f $output_target/$image_name.tar.zst $output_target/$image_name + if [[ ! -v ARKANIUM_NO_TAR ]]; then + printf "\e[1;34m-->\e[0m\e[1m Compressing images...\e[0m\n" + tar -cv -I 'zstd -12 -T0 ' -f $output_target/$image_name.tar.zst $output_target/$image_name + fi cleanup_and_quit