summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_build_rpm.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-12-15 16:09:46 +0100
committerHolger Levsen <holger@layer-acht.org>2015-12-15 16:09:46 +0100
commit34ae8754eabc844e41cfd178c3d728b0cc3c4465 (patch)
tree71cd7fdea97a88249d3c8806e1d3c67d3dd01bd1 /bin/reproducible_build_rpm.sh
parent4c629d3337a5b4e929d2ac40845ffe27e331910e (diff)
downloadjenkins.debian.net-34ae8754eabc844e41cfd178c3d728b0cc3c4465.tar.xz
Revert "reproducible rpms: don't try to use yum inside mock, it doesnt work, for whatever reason"
This reverts commit 7bb713f14db4e12587241c852fc8910b3affa0cf.
Diffstat (limited to 'bin/reproducible_build_rpm.sh')
-rwxr-xr-xbin/reproducible_build_rpm.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/reproducible_build_rpm.sh b/bin/reproducible_build_rpm.sh
index dd76a39d..6b12d298 100755
--- a/bin/reproducible_build_rpm.sh
+++ b/bin/reproducible_build_rpm.sh
@@ -42,9 +42,8 @@ update_mock() {
echo "$(date -u ) - updating mock for $RELEASE ($ARCH) on $HOSTNAME now..."
mock -r $RELEASE-$ARCH --resultdir=. --cleanup-after -v --update 2>&1
echo "$(date -u ) - mock updated."
- # set the end of reproducible_setup_mock to learn why this is commented out
- #yum -v check-update
- #echo "$(date -u ) - yum updated."
+ yum -v check-update
+ echo "$(date -u ) - yum updated."
touch $STAMP
else
echo "$(date -u ) - mock and yum not updated, last update was at $(TZ=UTC ls --full-time $STAMP | cut -d ' ' -f6-7 | cut -d '.' -f1) UTC."