]> err.no Git - dak/commitdiff
Fix race condition with lisa and jennifer running while cron.buildd is.
authorRyan Murray <rmurray@debian.org>
Tue, 4 Nov 2003 08:00:28 +0000 (08:00 +0000)
committerRyan Murray <rmurray@debian.org>
Tue, 4 Nov 2003 08:00:28 +0000 (08:00 +0000)
apt.conf.buildd
cron.buildd

index f0a7e6c143c3c0df38d60e6e2a7d154fb7c9d671..09c9ed5db1d64e2be4b43dc4ceb462a89a726388 100644 (file)
@@ -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";
 };
index 03c383f8b5af95ba40f38e78def55b4cf7c6666f..1d874c74940dd3a3a20ff222ef36f2664b8b9dd3 100644 (file)
@@ -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