From: Joerg Jaspert Date: Mon, 13 Dec 2010 22:48:55 +0000 (+0100) Subject: cron.buildd X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=2380849f2c632e17b8318e344e8af20e97c6bde9;p=dak.git cron.buildd now with signed buildd dirs Signed-off-by: Joerg Jaspert --- diff --git a/config/debian-security/cron.buildd b/config/debian-security/cron.buildd index 368cd988..e52cbb4a 100755 --- a/config/debian-security/cron.buildd +++ b/config/debian-security/cron.buildd @@ -22,6 +22,15 @@ done cd $configdir apt-ftparchive -qq -o APT::FTPArchive::Contents=off generate apt.conf.buildd +cd ${base}/buildd +for dist in $DISTS; do + rm -f $dist/Release* + archs=$(dak admin s-a list-arch $dist | tr '\n' ' ') + apt-ftparchive -qq -o APT::FTPArchive::Release::Origin="Debian" -o APT::FTPArchive::Release::Label="Debian" -o APT::FTPArchive::Release::Description="buildd $dist security" -o APT::FTPArchive::Release::Architectures="${archs}" release $dist > Release + gpg --secret-keyring ${base}/s3kr1t/dot-gnupg/secring.gpg --keyring ${base}/s3kr1t/dot-gnupg/pubring.gpg --no-options --batch --no-tty --armour --default-key 55BE302B --detach-sign -o Release.gpg Release + mv Release* $dist/. +done + dists=