X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fdebian%2Fcron.dinstall;h=07e9b0d5671566f84e22ec36c19fb658f8397c3a;hb=f78bd8701c00ed40424df8cb9ca643f12319eea8;hp=311207af96fa99efae11ea755f516bac3b164fd8;hpb=28b86b197fffbd068c2f030e987bc145829d9601;p=dak.git diff --git a/config/debian/cron.dinstall b/config/debian/cron.dinstall index 311207af..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,6 +210,14 @@ GO=( ) stage $GO +GO=( + FUNC="dep11" + TIME="dep11 1" + ARGS="" + ERR="false" +) +stage $GO + lockfile "$LOCK_ACCEPTED" trap remove_all_locks EXIT TERM HUP INT QUIT @@ -251,6 +263,14 @@ GO=( ) stage $GO +GO=( + FUNC="autocruft" + TIME="autocruft" + ARGS="unstable experimental" + ERR="" +) +stage $GO + GO=( FUNC="fingerprints" TIME="import-keyring"