From 5ad68c2ddaeb5d981459bf88f4f9eff561026058 Mon Sep 17 00:00:00 2001 From: Ryan Murray Date: Tue, 4 Nov 2003 08:00:28 +0000 Subject: [PATCH] Fix race condition with lisa and jennifer running while cron.buildd is. --- apt.conf.buildd | 3 +++ cron.buildd | 3 +++ 2 files changed, 6 insertions(+) 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 -- 2.39.5