X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fbackports%2Fcron.dinstall;h=c10e3c04a14ed27757e2235595a3c7053f7c5b62;hb=2c0e11e248e13ad7b220b2bdb8020827f79a7e84;hp=c5c123adfb61655139a600275a726f9b3e0c9fef;hpb=f0bfd37e7286156598d79b53501ebe2000bb7924;p=dak.git diff --git a/config/backports/cron.dinstall b/config/backports/cron.dinstall index c5c123ad..c10e3c04 100755 --- a/config/backports/cron.dinstall +++ b/config/backports/cron.dinstall @@ -179,9 +179,9 @@ GO=( stage $GO GO=( - FUNC="pgdump_pre" + FUNC="pg_timestamp" TIME="pg_dump1" - ARGS="" + ARGS="predinstall" ERR="" ) stage $GO @@ -189,6 +189,14 @@ stage $GO lockfile "$LOCK_ACCEPTED" lockfile "$LOCK_NEW" +GO=( + FUNC="punew" + TIME="p-u-new" + ARGS="proposedupdates" + ERR="false" +) +stage $GO + GO=( FUNC="newstage" TIME="newstage" @@ -223,13 +231,13 @@ GO=( ) stage $GO -# GO=( -# FUNC="fingerprints" -# TIME="import-keyring" -# ARGS="" -# ERR="false" -# ) -# stage $GO +GO=( + FUNC="fingerprints" + TIME="import-keyring" + ARGS="" + ERR="false" +) +stage $GO GO=( FUNC="overrides" @@ -300,14 +308,6 @@ GO=( ) stage $GO -GO=( - FUNC="mkuploaders" - TIME="mkuploaders" - ARGS="" - ERR="" -) -stage $GO - GO=( FUNC="copyoverrides" TIME="copyoverrides" @@ -348,9 +348,17 @@ ts "locked part finished" state "postlock" GO=( - FUNC="pgdump_post" - TIME="pg_dump2" + FUNC="changelogs" + TIME="changelogs" ARGS="" + ERR="false" +) +stage $GO & + +GO=( + FUNC="pg_timestamp" + TIME="pg_dump2" + ARGS="postdinstall" ERR="" ) stage $GO & @@ -390,8 +398,8 @@ stage $GO & rm -f "${LOCK_BRITNEY}" GO=( - FUNC="compress" - TIME="compress" + FUNC="cleantransactions" + TIME="" ARGS="" ERR="" ) @@ -405,6 +413,9 @@ stage $GO & # ) # stage $GO +# we need to wait for the background processes before the end of dinstall +wait + log "Daily cron scripts successful, all done" exec > "$logdir/afterdinstall.log" 2>&1