summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_setup_mock.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_setup_mock.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_setup_mock.sh')
-rwxr-xr-xbin/reproducible_setup_mock.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/bin/reproducible_setup_mock.sh b/bin/reproducible_setup_mock.sh
index 42efc66f..6c554b18 100755
--- a/bin/reproducible_setup_mock.sh
+++ b/bin/reproducible_setup_mock.sh
@@ -41,8 +41,6 @@ echo "$(date -u) - mock --install rpm-build"
mock -r $RELEASE-$ARCH --resultdir=. -v --install rpm-build yum
echo "$(date -u) - mock --update"
mock -r $RELEASE-$ARCH --resultdir=. -v --update
-# AIUI, this should work but fails with "UnboundLocalError: local variable 'chrootstate' referenced before assignment"
-# as can be seen in https://jenkins.debian.net/view/reproducible/job/reproducible_setup_mock_fedora-23_x86_64_profitbricks3/13/console
-#echo "$(date -u) - yum makecache"
-#mock -r $RELEASE-$ARCH --resultdir=. -v --chroot yum makecache
+echo "$(date -u) - yum makecache"
+mock -r $RELEASE-$ARCH --resultdir=. -v --chroot yum makecache