summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-12-12 19:48:42 +0100
committerHolger Levsen <holger@layer-acht.org>2015-12-12 19:48:42 +0100
commitbaf662788dc8ddcbe55f98a6caf80480c6822858 (patch)
tree3fd3aede93c3c73a1c50d458c7fb0b50115cd418 /bin
parentd278d9f99f625d3097c0d91ff4872aa9cd90725d (diff)
downloadjenkins.debian.net-baf662788dc8ddcbe55f98a6caf80480c6822858.tar.xz
reproducible fedora rpms: also cleanup yum database
Diffstat (limited to 'bin')
-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