From baf662788dc8ddcbe55f98a6caf80480c6822858 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 12 Dec 2015 19:48:42 +0100 Subject: reproducible fedora rpms: also cleanup yum database --- bin/reproducible_setup_mock.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin') 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 -- cgit v1.2.3-70-g09d2