Browse Source

sde-binary: added support for creating xz (lzma2) compressed tar packages

user/amery/wip/mount
Christian Wiese 14 years ago
committed by Christian Wiese
parent
commit
294387d2d7
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      lib/sde-binary/package.sh
  2. +1
    -1
      lib/sde-binary/preconfig.in

+ 1
- 0
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}" \

+ 1
- 1
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

Loading…
Cancel
Save