From d8466105dfb6f3323561445488afa300634013b0 Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Tue, 1 Dec 2020 12:21:17 +0100 Subject: rolltarball.sh: Create xz compressed tarballs instead of bzip2 compressed ones Signed-off-by: Lars Wendler --- rolltarball.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/rolltarball.sh b/rolltarball.sh index 1962c00..2660564 100755 --- a/rolltarball.sh +++ b/rolltarball.sh @@ -18,11 +18,12 @@ # 05-Jun-2005 Complete rewrite to clean up code # 20-Apr-2014 Use git instead of svn. Change patchname in ebuild as # well +# 01-Dec-2020 Replace bzip2 with xz to compress tarballs # -# Please increase version number before each commit which includes changes to -# this script. -MYVERSION='2.0' +# Please increase version number before or on each commit which includes +# changes to this script. +MYVERSION='2.1' # ********** Begin functions ********** @@ -433,8 +434,8 @@ build_tarball() { echo ${CURTIME} > ${TB_DIR}/DATESTAMP echo "Packaged by ${G_USER}" >> ${TB_DIR}/DATESTAMP echo "$0 v${MYVERSION}" >> ${TB_DIR}/DATESTAMP - edebug "Create bzip2-ed tarball ${TB} from ${TB_DIR} excluding vcs files" - tar --create --bzip2 --verbose --exclude-vcs --exclude=*~ --file ${TB} ${TB_DIR} >&9 + edebug "Create xz-ed tarball ${TB} from ${TB_DIR} excluding vcs files" + tar --create --xz --verbose --exclude-vcs --exclude=*~ --file ${TB} ${TB_DIR} >&9 eend $? "Tarball creation failed" || die edebug "Remove temporary directory" rm -rf ${TB_DIR} || ewarn "Couldn't clean up, manually remove ${TB_DIR}/" -- cgit v1.2.3-65-gdbad