From df3d89d5a265a9c30e7d4484fc3d84c410dc5deb Mon Sep 17 00:00:00 2001 From: Horea Christian Date: Mon, 12 Sep 2022 09:11:35 -0400 Subject: [PATCH] Disabled broken feature --- mkstage4.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/mkstage4.sh b/mkstage4.sh index 95eb02b..14b6b12 100755 --- a/mkstage4.sh +++ b/mkstage4.sh @@ -239,10 +239,12 @@ fi # Compression options COMP_OPTIONS=("${COMPRESS_AVAILABLE[$COMPRESS_TYPE]}") -if [[ "${COMPRESS_AVAILABLE[$COMPRESS_TYPE]}" == *"/xz" ]] -then - COMP_OPTIONS+=("-T0") -fi +# This currently breaks the command, and is temporarily disables, see: +# https://github.com/TheChymera/mkstage4/issues/46 +#if [[ "${COMPRESS_AVAILABLE[$COMPRESS_TYPE]}" == *"/xz" ]] +#then +# COMP_OPTIONS+=("-T0") +#fi # Generic tar options: TAR_OPTIONS=( @@ -250,7 +252,7 @@ TAR_OPTIONS=( --ignore-failed-read "--xattrs-include='*.*'" --numeric-owner - "--use-compress-prog=\'${COMP_OPTIONS[@]}\'" + "--use-compress-prog=\"${COMP_OPTIONS[@]}\"" ) # if not in quiet mode, this message will be displayed: