From 7bb713f14db4e12587241c852fc8910b3affa0cf Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 14 Dec 2015 19:33:25 +0100 Subject: reproducible rpms: don't try to use yum inside mock, it doesnt work, for whatever reason --- bin/reproducible_build_rpm.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bin/reproducible_build_rpm.sh') diff --git a/bin/reproducible_build_rpm.sh b/bin/reproducible_build_rpm.sh index 6b12d298..dd76a39d 100755 --- a/bin/reproducible_build_rpm.sh +++ b/bin/reproducible_build_rpm.sh @@ -42,8 +42,9 @@ 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." - yum -v check-update - echo "$(date -u ) - yum updated." + # set the end of reproducible_setup_mock to learn why this is commented out + #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." -- cgit v1.2.3-70-g09d2