[Qa-jenkins-scm] [jenkins.debian.net] 01/03: reproducible Arch Linux: randomize package selection

Holger Levsen holger at layer-acht.org
Tue Nov 21 22:42:34 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 73b3f68062d4928bfad0a045409c04e581d8619d
Author: Holger Levsen <holger at layer-acht.org>
Date:   Tue Nov 21 22:34:54 2017 +0000

    reproducible Arch Linux: randomize package selection
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_build_archlinux_pkg.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/reproducible_build_archlinux_pkg.sh b/bin/reproducible_build_archlinux_pkg.sh
index 2f5ea56..c0c540f 100755
--- a/bin/reproducible_build_archlinux_pkg.sh
+++ b/bin/reproducible_build_archlinux_pkg.sh
@@ -86,7 +86,7 @@ choose_package() {
 					;;
 		esac
 		touch -d "$(date -d "$MIN_AGE days ago" '+%Y-%m-%d') 00:00 UTC" $DUMMY
-		for PKG in $(sort -R ${ARCHLINUX_PKGS}_$REPO) ; do
+		for PKG in $(echo ${ARCHLINUX_PKGS}_$REPO | sed -s "s# #\n#g" | sort -R | xargs echo ) ; do
 			# build package if it has never build or at least $MIN_AGE days ago
 			if [ ! -d $BASE/archlinux/$REPO/$PKG ] || [ $DUMMY -nt $BASE/archlinux/$REPO/$PKG ] ; then
 				REPOSITORY=$REPO

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