X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fdebian%2Fdinstall.functions;h=f351ad4aa73258b4a4a43d7ebd9eeb01c182570f;hb=9639afdb34ea7c5fdaf62e05a78ca0aab288f6de;hp=fcd2de356aafed0c1ad6d0fe55bb12c55695623e;hpb=460b431da971dc01d047dcefd2e146c6d42c0195;p=dak.git diff --git a/config/debian/dinstall.functions b/config/debian/dinstall.functions index fcd2de35..f351ad4a 100644 --- a/config/debian/dinstall.functions +++ b/config/debian/dinstall.functions @@ -1,8 +1,4 @@ # -*- mode:sh -*- -# Timestamp. Used for dinstall stat graphs -function ts() { - echo "Archive maintenance timestamp ($1): $(date +%H:%M:%S)" -} # Remove daily lock # FIXME: Dead code when switched to cronscript @@ -193,13 +189,13 @@ function mpfm() { log "Generating package / file mapping" for archive in "${public_archives[@]}"; do + log " archive: ${archive}" archiveroot="$(get_archiveroot "${archive}")" dak make-pkg-file-mapping "${archive}" | bzip2 -9 > "${archiveroot}/indices/package-file.map.bz2" done } function packages() { - log "Generating Packages and Sources files" for archive in "${public_archives[@]}"; do log " Generating Packages/Sources for ${archive}" dak generate-packages-sources2 -a "${archive}" @@ -216,6 +212,7 @@ function pdiff() { function release() { log "Generating Release files" for archive in "${public_archives[@]}"; do + log " archive: ${archive}" dak generate-releases -a "${archive}" done } @@ -680,9 +677,8 @@ function signotherfiles() { function startup() { touch "${DINSTALLSTART}" ts "startup" - DINSTALLBEGIN="$(date -u +"%a %b %d %T %Z %Y (%s)")" lockfile -l 3600 "${LOCK_DAILY}" trap onerror ERR - TEMPFILES="${TEMPFILES} ${LOCK_DAILY}" touch "${LOCK_BRITNEY}" + TMPFILES="${TMPFILES} ${LOCK_DAILY} ${LOCK_BRITNEY}" }