summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/reproducible_setup_mock.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/reproducible_setup_mock.sh b/bin/reproducible_setup_mock.sh
index fa2a0b2b..0554f014 100755
--- a/bin/reproducible_setup_mock.sh
+++ b/bin/reproducible_setup_mock.sh
@@ -21,6 +21,8 @@ ARCH=$2
echo "$(date -u) - showing setup."
dpkg -l mock
id
+echo "$(date -u) - cleaning yum."
+yum -v clean all
echo "$(date -u) - starting to cleanly configure mock for $RELEASE on $ARCH."
mock -r $RELEASE-$ARCH --resultdir=. -v --clean
mock -r $RELEASE-$ARCH --resultdir=. -v --init