From: Joerg Jaspert Date: Fri, 8 Aug 2008 13:30:46 +0000 (+0200) Subject: Create a hardlinked tree for the buildds X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=6e18b0d9c051739fa15d5de4e44def11998653fc;p=dak.git Create a hardlinked tree for the buildds --- diff --git a/ChangeLog b/ChangeLog index 0c329fc6..48d75b85 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2008-08-08 Joerg Jaspert + * config/debian/cron.dinstall: Create a hardlinked tree of the + ftp/ in mirror/ so we have more atomic mirror updates for the + buildds + * config/debian/cron.unchecked: Added signing of buildd incoming 2008-08-07 Joerg Jaspert diff --git a/config/debian/cron.dinstall b/config/debian/cron.dinstall index 7710ebd3..6704fe4e 100755 --- a/config/debian/cron.dinstall +++ b/config/debian/cron.dinstall @@ -178,6 +178,14 @@ cd $scriptsdir ./mkfilesindices ./mkchecksums +ts + +# (Re)generate the hardlinked mirror directory for "public" buildd / mirror access +echo "Regenerating mirror/ hardlink fun" +cd ${mirrordir} +rsync -aH --link-dest ${ftpdir} --delete --delete-after --ignore-errors ${ftpdir}/. . + + ts echo "Trigger daily wanna-build run" diff --git a/config/debian/vars b/config/debian/vars index 3f993fad..ef4b670c 100644 --- a/config/debian/vars +++ b/config/debian/vars @@ -19,6 +19,7 @@ logdir=$base/log/cron/ queuedir=$base/queue/ unchecked=$queuedir/unchecked/ accepted=$queuedir/accepted/ +mirrordir=$base/mirror/ incoming=$base/incoming ftpgroup=debadmin