From 43fe5acde6e5fa8ad08fb657be823f57627e04f0 Mon Sep 17 00:00:00 2001 From: Diego Elio 'Flameeyes' Pettenò Date: Thu, 2 Sep 2010 17:01:23 +0200 Subject: Add a script to continuously run the tinderbox without halting it for restarts. --- tinderbox-continuous.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 tinderbox-continuous.sh diff --git a/tinderbox-continuous.sh b/tinderbox-continuous.sh new file mode 100755 index 0000000..2b88378 --- /dev/null +++ b/tinderbox-continuous.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +tboxdir=$(dirname $0) + +until [ -e /var/run/tinderbox.pleasestop ]; do + ${tboxdir}/tinderbox-restart.sh + + head -n 200 /var/cache/tinderbox/queue | xargs -n1 ${tboxdir}/emerge-wrapper.sh +done -- cgit v1.2.3-65-gdbad