From: Joerg Jaspert Date: Sun, 5 Apr 2009 21:53:54 +0000 (+0200) Subject: dinstall X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=92836c3eece617d1b39d3631db4d8c80a55bbcd4;p=dak.git dinstall tell merkel that it should sync the dd accessible parts. do that after the long run of apt-ftparchive clean, so we have a large delay between the earlier "sync projectb" and this, so to not overload merkel too much. Signed-off-by: Joerg Jaspert --- diff --git a/config/debian/cron.dinstall b/config/debian/cron.dinstall index 045b6a04..2e84dae1 100755 --- a/config/debian/cron.dinstall +++ b/config/debian/cron.dinstall @@ -289,6 +289,12 @@ function merkel2() { ssh -2 -o BatchMode=yes -o SetupTimeOut=30 -o ConnectTimeout=30 -i ~/.ssh/push_merkel_projectb dak@merkel.debian.org sleep 1 } +function merkel3() { + # Push dak@merkel to tell it to sync the dd accessible parts. Returns immediately, the sync runs detached + log "Trigger merkels dd accessible parts sync" + ssh -2 -o BatchMode=yes -o SetupTimeOut=30 -o ConnectTimeout=30 -i ~/.ssh/push_merkel_ddaccess dak@merkel.debian.org sleep 1 +} + function runparts() { log "Using run-parts to run scripts in $base/scripts/distmnt" run-parts --report $base/scripts/distmnt @@ -788,6 +794,14 @@ GO=( ) stage $GO +GO=( + FUNC="merkel3" + TIME="merkel ddaccessible sync" + ARGS="" + ERR="false" +) +stage $GO + GO=( FUNC="compress" TIME="compress"