Disabled broken feature

This commit is contained in:
Horea Christian 2022-09-12 09:11:35 -04:00
parent f7655ed21d
commit df3d89d5a2

View file

@ -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: