summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-12-14 02:20:35 +0100
committerHolger Levsen <holger@layer-acht.org>2015-12-14 02:20:35 +0100
commit0e808e56083b0415642d2e291867e43cbc9d6764 (patch)
tree1360ea5e81dca8d4931708fddfc08ab642fc00cd
parentdafb3c2133fab04f95ebc72b68048ce747221342 (diff)
downloadjenkins.debian.net-0e808e56083b0415642d2e291867e43cbc9d6764.tar.xz
reproducible fedora rpms: initialise yum as well
-rwxr-xr-xbin/reproducible_setup_mock.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/reproducible_setup_mock.sh b/bin/reproducible_setup_mock.sh
index fe4d8656..6c554b18 100755
--- a/bin/reproducible_setup_mock.sh
+++ b/bin/reproducible_setup_mock.sh
@@ -38,7 +38,9 @@ echo "$(date -u) - mock --init"
mock -r $RELEASE-$ARCH --resultdir=. -v --init
echo "$(date -u) - mock configured for $RELEASE on $ARCH."
echo "$(date -u) - mock --install rpm-build"
-mock -r $RELEASE-$ARCH --resultdir=. -v --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