summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-12-13 17:51:55 +0100
committerHolger Levsen <holger@layer-acht.org>2015-12-13 17:51:55 +0100
commit5963b9f94fe759eb735da7dae73d6b9be09c6ed9 (patch)
treef3da2eb3952e091f72d4233846494099d337045d /bin
parent0f3e9ce558c767a73bc6a1a36f706c9b11a27a75 (diff)
downloadjenkins.debian.net-5963b9f94fe759eb735da7dae73d6b9be09c6ed9.tar.xz
reproducible fedora rpms: fix mock setup
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
+