summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_setup_mock.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/bin/reproducible_setup_mock.sh b/bin/reproducible_setup_mock.sh
index 16f7bdef..a98abc79 100755
--- a/bin/reproducible_setup_mock.sh
+++ b/bin/reproducible_setup_mock.sh
@@ -23,9 +23,19 @@ dpkg -l mock
id
echo "$(date -u) - cleaning yum."
yum -v clean all
+yum -v check
+yum -v repolist all
echo "$(date -u) - starting to cleanly configure mock for $RELEASE on $ARCH."
+echo "$(date -u) - mock --clean"
mock -r $RELEASE-$ARCH --resultdir=. -v --clean
+echo "$(date -u) - mock --scrub=all"
mock -r $RELEASE-$ARCH --resultdir=. -v --scrub=all
tree /var/cache/mock/
+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
+echo "$(date -u) - mock --update"
+mock -r $RELEASE-$ARCH --resultdir=. -v --update
+