[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible fedora rpms: try harder to reset mock
Holger Levsen
holger at moszumanska.debian.org
Sat Dec 12 23:21:19 UTC 2015
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit 6573b681069c55ba6362cc06bb976ad22941db3a
Author: Holger Levsen <holger at layer-acht.org>
Date: Sun Dec 13 00:20:59 2015 +0100
reproducible fedora rpms: try harder to reset mock
---
TODO | 1 +
bin/reproducible_setup_mock.sh | 2 ++
2 files changed, 3 insertions(+)
diff --git a/TODO b/TODO
index 82816b5..cc83595 100644
--- a/TODO
+++ b/TODO
@@ -282,6 +282,7 @@ This is about Debian, below are more todo entries for other projects…
==== reproducible Fedora
* build script
+** cleanup mock cache between two builds. --scrub=all might be too much, but whats sensible (or is it --scrub=all?)?
** how to allow more than one mock builder per node? using schroots?
** no variations introduced yet:
*** use '-j$NUM_CPU' and 'NEW_NUM_CPU=$(echo $NUM_CPU-1|bc)'
diff --git a/bin/reproducible_setup_mock.sh b/bin/reproducible_setup_mock.sh
index 0554f01..16f7bde 100755
--- a/bin/reproducible_setup_mock.sh
+++ b/bin/reproducible_setup_mock.sh
@@ -25,5 +25,7 @@ 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 --scrub=all
+tree /var/cache/mock/
mock -r $RELEASE-$ARCH --resultdir=. -v --init
echo "$(date -u) - mock configured for $RELEASE on $ARCH."
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list