[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible fedora: use /rpms/ as the path for now, until we've moved to tests.reproducible-builds.org

Holger Levsen holger at moszumanska.debian.org
Fri Dec 11 20:56:03 UTC 2015


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 adc7bfa575e69f2bd510c4f823f0eb04a5c71b8c
Author: Holger Levsen <holger at layer-acht.org>
Date:   Fri Dec 11 21:55:48 2015 +0100

    reproducible fedora: use /rpms/ as the path for now, until we've moved to tests.reproducible-builds.org
---
 bin/reproducible_build_rpm.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/reproducible_build_rpm.sh b/bin/reproducible_build_rpm.sh
index 2ef3d44..c946b50 100755
--- a/bin/reproducible_build_rpm.sh
+++ b/bin/reproducible_build_rpm.sh
@@ -49,12 +49,12 @@ choose_package() {
 	# yumdownloader --urls --source --releasever=23 '*'
 	for PKG in bash bzip2 coreutils cpio diffutils fedora-release findutils gawk gcc gcc-c++ gcc-c++ grep gzip info make patch redhat-rpm-config rpm-build sed shadow-utils tar unzip util-linux util-linux which xz audit-libs audit-libs basesystem binutils bzip2-libs bzip2-libs ca-certificates chkconfig cpp cracklib cracklib cracklib-dicts crypto-policies curl cyrus-sasl-lib cyrus-sasl-lib dwz elfutils elfutils-default-yama-scope elfutils-libelf elfutils-libelf elfutils-libs elfutils-libs ema [...]
 		# build package if it has never build or at least $MIN_AGE days ago
-		if [ ! -d $BASE/rpm/$RELEASE/$ARCH/$PKG ] || [ ! -z $(find $BASE/rpm/$RELEASE/$ARCH/ -name $PKG -mtime +$MIN_AGE) ] ; then
+		if [ ! -d $BASE/rpms/$RELEASE/$ARCH/$PKG ] || [ ! -z $(find $BASE/rpms/$RELEASE/$ARCH/ -name $PKG -mtime +$MIN_AGE) ] ; then
 			SRCPACKAGE=$PKG
 			echo "$(date -u ) - building package $PKG from '$RELEASE' on '$ARCH' now..."
 			# very simple locking…
-			mkdir -p $BASE/rpm/$RELEASE/$ARCH/$PKG
-			touch $BASE/rpm/$RELEASE/$ARCH/$PKG
+			mkdir -p $BASE/rpms/$RELEASE/$ARCH/$PKG
+			touch $BASE/rpms/$RELEASE/$ARCH/$PKG
 			# break out of the loop and then out of this function too,
 			# to build this package…
 			break

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