diff options
author | 2010-09-26 21:53:45 +0200 | |
---|---|---|
committer | 2010-09-26 21:53:45 +0200 | |
commit | bedfa829ce29c15c396e5d9edca30ce287fb6aba (patch) | |
tree | 84f05fafc980fdfeee55becc4cc5624f0b564cc6 | |
parent | Rewrite the revdeps fetching script. (diff) | |
download | flameeyes-tinderbox-bedfa829ce29c15c396e5d9edca30ce287fb6aba.tar.gz flameeyes-tinderbox-bedfa829ce29c15c396e5d9edca30ce287fb6aba.tar.bz2 flameeyes-tinderbox-bedfa829ce29c15c396e5d9edca30ce287fb6aba.zip |
Allow providing an alternative list from the "complete", and keep it
updated.
-rwxr-xr-x | tinderbox-continuous.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tinderbox-continuous.sh b/tinderbox-continuous.sh index 2da969a..19f0d22 100755 --- a/tinderbox-continuous.sh +++ b/tinderbox-continuous.sh @@ -17,12 +17,18 @@ tboxdir=$(dirname $0) +list=${1-/var/cache/tinderbox/list-complete} + echo > /etc/portage/package.mask/currentsession until [ -f /var/run/tinderbox.pleasestop ]; do ${tboxdir}/tinderbox-restart.sh - sort -R /var/cache/tinderbox/list-complete | head -n 200 | xargs -n1 ${tboxdir}/emerge-wrapper.sh + sort -R ${list} | head -n 200 > /var/cache/tinderbox/myrunlist + cp ${list} ${list}~ + cat ${list}~ /var/cache/tinderbox/myrunlist | sort | uniq -u > ${list} + + xargs -a /var/cache/tinderbox/myrunlist -n1 ${tboxdir}/emerge-wrapper.sh # before restarting, copy the current run's mask into the session # mask; rinse and repeat. This should achieve something much more |