]> git.decadent.org.uk Git - dak.git/commitdiff
cron.buildd
authorJoerg Jaspert <joerg@debian.org>
Mon, 13 Dec 2010 22:48:55 +0000 (23:48 +0100)
committerJoerg Jaspert <joerg@debian.org>
Mon, 13 Dec 2010 22:48:55 +0000 (23:48 +0100)
now with signed buildd dirs

Signed-off-by: Joerg Jaspert <joerg@debian.org>
config/debian-security/cron.buildd

index 368cd988b382eda440fabdae56ee58f32802cf09..e52cbb4a8c4d084d499761b370052b44cdbd5926 100755 (executable)
@@ -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=