summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_setup_mock.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/reproducible_setup_mock.sh')
-rwxr-xr-xbin/reproducible_setup_mock.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/reproducible_setup_mock.sh b/bin/reproducible_setup_mock.sh
index 6c554b18..42efc66f 100755
--- a/bin/reproducible_setup_mock.sh
+++ b/bin/reproducible_setup_mock.sh
@@ -41,6 +41,8 @@ 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
-echo "$(date -u) - yum makecache"
-mock -r $RELEASE-$ARCH --resultdir=. -v --chroot yum makecache
+# 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