From: Ryan Murray Date: Tue, 4 Nov 2003 08:00:28 +0000 (+0000) Subject: Fix race condition with lisa and jennifer running while cron.buildd is. X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=5ad68c2ddaeb5d981459bf88f4f9eff561026058;p=dak.git Fix race condition with lisa and jennifer running while cron.buildd is. --- diff --git a/apt.conf.buildd b/apt.conf.buildd index f0a7e6c1..09c9ed5d 100644 --- a/apt.conf.buildd +++ b/apt.conf.buildd @@ -23,6 +23,9 @@ bindirectory "incoming" SrcOverride "override.sid.all3.src"; BinCacheDB "packages-accepted.db"; + FileList "/org/ftp.debian.org/database/dists/unstable_accepted_binary.list"; + SourceFileList "/org/ftp.debian.org/database/dists/unstable_accepted_source.list"; + PathPrefix ""; Packages::Extensions ".deb .udeb"; }; diff --git a/cron.buildd b/cron.buildd index 03c383f8..1d874c74 100644 --- a/cron.buildd +++ b/cron.buildd @@ -16,6 +16,9 @@ if [ ! -e "$ftpdir/Archive_Maintenance_In_Progress" ]; then rm -f "$LOCKFILE" } trap cleanup 0 + psql projectb -A -t -q -c 'SELECT filename FROM accepted_autobuild WHERE suite = 5' > $dbdir/dists/unstable_accepted.list + grep 'dsc$' $dbdir/dists/unstable_accepted.list > $dbdir/dists/unstable_accepted_source.list + grep 'deb$' $dbdir/dists/unstable_accepted.list > $dbdir/dists/unstable_accepted_binary.list cd $overridedir denise &>/dev/null rm -f override.sid.all3 override.sid.all3.src