Browse Source

sde-binary: added support for creating lzma compressed tar packages

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

+ 2
- 1
lib/sde-binary/package.sh

@ -3,7 +3,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: lib/sde-binary/package.sh
# Copyright (C) 2007 The OpenSDE Project
# Copyright (C) 2007 - 2010 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
@ -71,6 +71,7 @@ case "$pkg_type" in
tar.gz) compressor=gzip ;;
tar.bz2) compressor=bzip2 ;;
tar.lzo) compressor=lzop ;;
tar.lzma) compressor=lzma ;;
*) # 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}" \

+ 2
- 2
lib/sde-binary/preconfig.in

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: lib/sde-binary/preconfig.in
# Copyright (C) 2007 - 2008 The OpenSDE Project
# Copyright (C) 2007 - 2010 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
@ -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,lzo} \
for x in tar.{bz2,gz,lzma,lzo} \
$( 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