[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] Gah, apt is a piece of shit. Well, it expects the uncompressed Packages files in the Release file to appear, so lets generate them. Also make sure we dont have empty release files listed...



---
 config/debian/apt.conf.buildd |    4 ++--
 config/debian/cron.unchecked  |    7 ++++---
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/config/debian/apt.conf.buildd b/config/debian/apt.conf.buildd
index 2ad4483..65a8363 100644
--- a/config/debian/apt.conf.buildd
+++ b/config/debian/apt.conf.buildd
@@ -7,8 +7,8 @@ Dir
 
 Default
 {
-   Packages::Compress "bzip2 gzip";
-   Sources::Compress "bzip2 gzip";
+   Packages::Compress ". bzip2 gzip";
+   Sources::Compress ". bzip2 gzip";
    DeLinkLimit 0;
    FileMode 0664;
 }
diff --git a/config/debian/cron.unchecked b/config/debian/cron.unchecked
index f17331d..406636e 100755
--- a/config/debian/cron.unchecked
+++ b/config/debian/cron.unchecked
@@ -52,10 +52,11 @@ if lockfile -r3 $LOCKFILE; then
 	    cd $configdir
 	    apt-ftparchive -qq -o APT::FTPArchive::Contents=off generate apt.conf.buildd
 
-	    cd  ${incoming}/buildd
-	    rm -f Release.*
-	    apt-ftparchive -qq -o APT::FTPArchive::Release::Origin="Debian" -o APT::FTPArchive::Release::Label="Debian" -o APT::FTPArchive::Release::Description="buildd incoming" -o APT::FTPArchive::Release::Architectures="${archs}" release . > Release
+	    cd  ${incoming}
+	    rm -f buildd/Release*
+	    apt-ftparchive -qq -o APT::FTPArchive::Release::Origin="Debian" -o APT::FTPArchive::Release::Label="Debian" -o APT::FTPArchive::Release::Description="buildd incoming" -o APT::FTPArchive::Release::Architectures="${archs}" release buildd > Release
 	    gpg --secret-keyring /srv/ftp.debian.org/s3kr1t/dot-gnupg/secring.gpg --keyring /srv/ftp.debian.org/s3kr1t/dot-gnupg/pubring.gpg --no-options --batch --no-tty --armour --default-key 6070D3A1 --detach-sign -o Release.gpg Release 
+		mv Release* buildd/.
 
 	    cd ${incoming}
 	    mkdir -p tree/${STAMP}
-- 
1.5.6


Reply to: