[Qa-jenkins-scm] [jenkins.debian.net] 01/02: reproducible Arch Linux: refactoring and also blacklist core/gnutls

Holger Levsen holger at layer-acht.org
Sat Dec 9 15:58:24 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 16f54f61eda3c7fd8a81b9473dd3dba772bc1cc7
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sat Dec 9 15:42:43 2017 +0000

    reproducible Arch Linux: refactoring and also blacklist core/gnutls
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_build_archlinux_pkg.sh | 18 ++++++++++--------
 bin/reproducible_common.sh              |  1 +
 2 files changed, 11 insertions(+), 8 deletions(-)

diff --git a/bin/reproducible_build_archlinux_pkg.sh b/bin/reproducible_build_archlinux_pkg.sh
index 1f8edc6..751f781 100755
--- a/bin/reproducible_build_archlinux_pkg.sh
+++ b/bin/reproducible_build_archlinux_pkg.sh
@@ -48,10 +48,11 @@ choose_package() {
 		# try to find packages which have been triggered
 		for PKG in $(cat ${ARCHLINUX_PKGS}_$REPO | cut -d ' ' -f1 | sort -R | xargs echo ) ; do
 			# ignore blacklisted packages (should be noted in the web pages later)
-			case $PKG in
-				syslinux|ltrace)	continue ;;
-				*)			;;
-			esac
+			for i in $ARCHLINUX_BLACKLISTED ; do
+				if [ "$PKG" = "$i" ] ; then
+					continue
+				fi
+			done
 			# if triggered...
 			if [ -f $BASE/archlinux/$REPO/$PKG/pkg.needs_build ] ; then
 				REPOSITORY=$REPO
@@ -69,10 +70,11 @@ choose_package() {
 			# trz to find packages which never been built before
 			for PKG in $(cat ${ARCHLINUX_PKGS}_$REPO | cut -d ' ' -f1 | sort -R | xargs echo ) ; do
 				# ignore blacklisted packages (should be noted in the web pages later)
-				case $PKG in
-					syslinux|ltrace)	continue ;;
-					*)			;;
-				esac
+				for i in $ARCHLINUX_BLACKLISTED ; do
+					if [ "$PKG" = "$i" ] ; then
+						continue
+					fi
+				done
 				# if new...
 				if [ ! -d $BASE/archlinux/$REPO/$PKG ] ; then
 					REPOSITORY=$REPO
diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index 4b6f384..172e5ea 100755
--- a/bin/reproducible_common.sh
+++ b/bin/reproducible_common.sh
@@ -49,6 +49,7 @@ USERTAGS="toolchain infrastructure timestamps fileordering buildpath username ho
 # common settings for testing Arch Linux
 ARCHLINUX_REPOS="core extra multilib community"
 ARCHLINUX_PKGS=/srv/reproducible-results/archlinux_pkgs
+ARCHLINUX_BLACKLISTED="syslinux ltrace gnutls"
 
 # common settings for testing rpm based distros
 RPM_BUILD_NODE=profitbricks-build3-amd64

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