summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2018-10-21 18:53:15 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2018-10-21 19:02:25 +0200
commitcd633e1d19990d75c2c33238d2cf2799e40fb4a0 (patch)
treeebe1387b605a646a48bee0e4f92823b669d4ac5c
parent[no-patch] Gentoo: Drop our copy of nscd.conf, and keep the default (diff)
downloadglibc-gentoo/glibc-2.28-2.tar.gz
glibc-gentoo/glibc-2.28-2.tar.bz2
glibc-gentoo/glibc-2.28-2.zip
[no-patch] Gentoo: Use xz instead of bz2 for the patch tarballgentoo/glibc-2.28-2
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
-rwxr-xr-xscripts/gentoo/make-tarball.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/gentoo/make-tarball.sh b/scripts/gentoo/make-tarball.sh
index 09950d1c7d..a4f380d632 100755
--- a/scripts/gentoo/make-tarball.sh
+++ b/scripts/gentoo/make-tarball.sh
@@ -42,14 +42,14 @@ if [[ ! -z "${mytaginfo}" ]] ; then
exit 1
fi
-# luckily glibc git has no /tmp dir and no tar.bz2 files, but let's better check and be pathologically careful
+# luckily glibc git has no /tmp dir and no tar.xz files, but let's better check and be pathologically careful
-if [[ -e tmp ]] || [[ -e ${PN}-${PV}-patches-${pver}.tar.bz2 ]] ; then
- echo "Error: tmp or ${PN}-${PV}-patches-${pver}.tar.bz2 exists in git"
+if [[ -e tmp ]] || [[ -e ${PN}-${PV}-patches-${pver}.tar.xz ]] ; then
+ echo "Error: tmp or ${PN}-${PV}-patches-${pver}.tar.xz exists in git"
exit 1
fi
rm -rf tmp
-rm -f ${PN}-${PV}-*.tar.bz2
+rm -f ${PN}-${PV}-*.tar.xz
for myname in 0*.patch ; do
if [[ -e ${myname} ]]; then
@@ -96,11 +96,11 @@ git log --stat --decorate ${startpoint}..HEAD > tmp/patches/README.history || ex
# package everything up
-tar -jcf ${PN}-${PV}-patches-${pver}.tar.bz2 \
+tar -Jcf ${PN}-${PV}-patches-${pver}.tar.xz \
-C tmp patches extra README.Gentoo.patches || exit 1
rm -r tmp
-du -b *.tar.bz2
+du -b *.tar.xz
# tag the commit