diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-12-13 17:51:55 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-12-13 17:51:55 +0100 |
commit | 5963b9f94fe759eb735da7dae73d6b9be09c6ed9 (patch) | |
tree | f3da2eb3952e091f72d4233846494099d337045d /bin | |
parent | 0f3e9ce558c767a73bc6a1a36f706c9b11a27a75 (diff) | |
download | jenkins.debian.net-5963b9f94fe759eb735da7dae73d6b9be09c6ed9.tar.xz |
reproducible fedora rpms: fix mock setup
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_setup_mock.sh | 10 |
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 + |