summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--TODO1
-rwxr-xr-xbin/reproducible_setup_mock.sh2
2 files changed, 3 insertions, 0 deletions
diff --git a/TODO b/TODO
index 82816b53..cc835956 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 0554f014..16f7bdef 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."