[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Fedora: make future testing of other distros easier...
Holger Levsen
gitlab at salsa.debian.org
Fri Feb 8 16:53:38 GMT 2019
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
ebbb8dce by Holger Levsen at 2019-02-08T16:53:05Z
reproducible Fedora: make future testing of other distros easier...
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- bin/reproducible_build_rpm.sh
Changes:
=====================================
bin/reproducible_build_rpm.sh
=====================================
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2015 Holger Levsen <holger at layer-acht.org>
+# Copyright 2015-2019 Holger Levsen <holger at layer-acht.org>
# released under the GPLv=2
DEBUG=false
@@ -34,7 +34,11 @@ update_mock() {
echo "$(date -u ) - updating mock for $RELEASE ($ARCH) on $HOSTNAME now..."
mock -r $RELEASE-$ARCH --uniqueext=$UNIQUEEXT --resultdir=. --cleanup-after -v --update 2>&1
echo "$(date -u ) - mock updated."
- yum -v --releasever=23 check-update # FIXME: dont hard-code releasever here.
+ case $RELEASE in
+ fedora-23) RELVER=23 ;;
+ *) echo "Unsupported release $RELEASE, please fix this script." ; exit 1 ;;
+ esac
+ yum -v --releasever=$RELVER check-update
echo "$(date -u ) - yum updated."
touch $STAMP
else
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/ebbb8dceeae8a3ce1d973a872deca3cd73ca31b0
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/ebbb8dceeae8a3ce1d973a872deca3cd73ca31b0
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20190208/6232c1d5/attachment.html>
More information about the Qa-jenkins-scm
mailing list