diff --git a/lib/sde-binary/package.sh b/lib/sde-binary/package.sh index 12c631b..2307a53 100755 --- a/lib/sde-binary/package.sh +++ b/lib/sde-binary/package.sh @@ -72,6 +72,7 @@ case "$pkg_type" in tar.bz2) compressor=bzip2 ;; tar.lzo) compressor=lzop ;; tar.lzma) compressor=lzma ;; + tar.xz) compressor=xz ;; *) # external type if [ -x "$SDEROOT/lib/sde-package/package-$pkg_type.sh" ]; then exec $SDEROOT/lib/sde-package/package-$pkg_type.sh ${versioned:+--versioned} --root "${root}" \ diff --git a/lib/sde-binary/preconfig.in b/lib/sde-binary/preconfig.in index 66d260f..4b7976b 100644 --- a/lib/sde-binary/preconfig.in +++ b/lib/sde-binary/preconfig.in @@ -20,7 +20,7 @@ if [ ! -f $cfgtmpdir/cache_pkgfile_type.in ]; then choice SDECFG_PKGFILE_TYPE tar.bz2 \\ EOT # generate choices - for x in tar.{bz2,gz,lzma,lzo} \ + for x in tar.{bz2,gz,lzma,lzo,xz} \ $( ls -1 lib/sde-binary/package-*.sh 2> /dev/null | sed -e 's,.*/package-\(.*\).sh,\1,' ); do $ECHO_E "\t\t${x} 'Create ${x} binary packages' \\" >> $cfgtmpdir/cache_pkgfile_type.in