[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible-archlinux: set pkgext to .pkg.tar.xz

Holger Levsen holger at layer-acht.org
Sat Nov 18 19:00:00 UTC 2017


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit a759ecd5bc0c84af96bae90e2863219383343ef0
Author: kpcyrd <git at rxv.cc>
Date:   Sat Nov 18 19:58:37 2017 +0100

    reproducible-archlinux: set pkgext to .pkg.tar.xz
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_build_archlinux_pkg.sh     | 2 ++
 bin/reproducible_setup_archlinux_schroot.sh | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/bin/reproducible_build_archlinux_pkg.sh b/bin/reproducible_build_archlinux_pkg.sh
index 3efafa3..578c6d2 100755
--- a/bin/reproducible_build_archlinux_pkg.sh
+++ b/bin/reproducible_build_archlinux_pkg.sh
@@ -333,6 +333,8 @@ if [ ! -z "$(ls $TMPDIR/b1/$SRCPACKAGE/*.pkg.tar.xz 2>/dev/null|| true)" ] ; the
 			cp $TMPDIR/$SRCPACKAGE/$ARTIFACT.html $BASE/archlinux/$REPOSITORY/$SRCPACKAGE/
 		fi
 	done
+else
+    echo "$(date -u) - build1 didn't create a package, skipping build2!"
 fi
 # publish logs
 cd $TMPDIR/b1/$SRCPACKAGE
diff --git a/bin/reproducible_setup_archlinux_schroot.sh b/bin/reproducible_setup_archlinux_schroot.sh
index 2a9d938..543fb33 100755
--- a/bin/reproducible_setup_archlinux_schroot.sh
+++ b/bin/reproducible_setup_archlinux_schroot.sh
@@ -165,6 +165,8 @@ Include = /etc/pacman.d/mirrorlist
 Include = /etc/pacman.d/mirrorlist
 __END__
 
+sudo sed -i "s/^PKGEXT='.pkg.tar.gz'/PKGEXT='.pkg.tar.xz'/" "$SCHROOT_BASE/$TARGET/etc/makepkg.conf"
+
 if [ "$HOSTNAME" = "profitbricks-build4-amd64" ] ; then
     # disable signature verification so packages won't fail to install when setting the time to +$x years
     sudo sed -i 's/^#?SigLevel\s*=.*/SigLevel = Never/' "$SCHROOT_BASE/$TARGET/etc/pacman.conf"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list