From 0e808e56083b0415642d2e291867e43cbc9d6764 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 14 Dec 2015 02:20:35 +0100 Subject: reproducible fedora rpms: initialise yum as well --- bin/reproducible_setup_mock.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2