X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fdebian%2Fcron.dinstall;h=07e9b0d5671566f84e22ec36c19fb658f8397c3a;hb=f78bd8701c00ed40424df8cb9ca643f12319eea8;hp=c4b363ca0ef76de1d0e2961813bea536d1addbf4;hpb=039b87c9a0d68c3acd4cd893396334d6f3ea06a0;p=dak.git diff --git a/config/debian/cron.dinstall b/config/debian/cron.dinstall index c4b363ca..07e9b0d5 100755 --- a/config/debian/cron.dinstall +++ b/config/debian/cron.dinstall @@ -74,6 +74,8 @@ function stage() { error=${ERR:-"true"} ARGS=${ARGS:-""} + + log "########## DINSTALL BEGIN: ${FUNC} ${ARGS} ##########" STAGEFILE="${stagedir}/${FUNC}_${ARGS}" STAGEFILE=${STAGEFILE// /_} if [ -f "${STAGEFILE}" ]; then @@ -132,6 +134,8 @@ function stage() { cat "${STAGEFILE}.log" >> "${LOGFILE}" rm -f "${STAGEFILE}.log" + log "########## DINSTALL END: ${FUNC} ##########" + if [ -f "${LOCK_STOP}" ]; then log "${LOCK_STOP} exists, exiting immediately" exit 42 @@ -206,8 +210,15 @@ GO=( ) stage $GO +GO=( + FUNC="dep11" + TIME="dep11 1" + ARGS="" + ERR="false" +) +stage $GO + lockfile "$LOCK_ACCEPTED" -lockfile "$LOCK_NEW" trap remove_all_locks EXIT TERM HUP INT QUIT GO=( @@ -227,10 +238,10 @@ GO=( stage $GO GO=( - FUNC="newstage" - TIME="newstage" + FUNC="backports_policy" + TIME="backports-policy" ARGS="" - ERR="" + ERR="false" ) stage $GO @@ -253,12 +264,12 @@ GO=( stage $GO GO=( - FUNC="filelist" - TIME="generate-filelist" - ARGS="" + FUNC="autocruft" + TIME="autocruft" + ARGS="unstable experimental" ERR="" ) -#stage $GO +stage $GO GO=( FUNC="fingerprints" @@ -326,14 +337,6 @@ GO=( ) stage $GO -GO=( - FUNC="buildd_dir" - TIME="buildd_dir" - ARGS="" - ERR="" -) -stage $GO - state "scripts" GO=( FUNC="mkmaintainers" @@ -453,6 +456,14 @@ GO=( ) stage $GO & +GO=( + FUNC="mirrorpush-backports" + TIME="mirrorpush-backports" + ARGS="" + ERR="false" +) +stage $GO & + GO=( FUNC="i18n2" TIME="i18n 2" @@ -487,14 +498,6 @@ GO=( ) stage $GO -GO=( - FUNC="aptftpcleanup" - TIME="apt-ftparchive cleanup" - ARGS="" - ERR="false" -) -#stage $GO - # we need to wait for the background processes before the end of dinstall wait