X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fdebian%2Fcommon;h=1e26ed990861e37ea4de8f53691bc979d659bec7;hb=2b4cde5eb08ce50092f06f51391ff0e28fc12973;hp=7dcd339b4f26cac6a00eb238ae5bfcc94b0dd429;hpb=060b14401469edd7321257c6e16bbefeaf1fa476;p=dak.git diff --git a/config/debian/common b/config/debian/common index 7dcd339b..1e26ed99 100644 --- a/config/debian/common +++ b/config/debian/common @@ -33,12 +33,15 @@ function wbtrigger() { # used by cron.dinstall *and* cron.unchecked. function make_buildd_dir () { + local overridesuite + local suite + dak manage-build-queues -a dak generate-packages-sources2 -a build-queues dak generate-releases -a build-queues >/dev/null ${scriptsdir}/update-buildd-archive ${base}/build-queues ${incoming}/debian-buildd - for suite in unstable experimental; do + for suite in unstable experimental squeeze-backports; do rm -rf "$incoming/dists/$suite/buildd" dak export-suite -s "buildd-$suite" -d "$incoming/dists/$suite/buildd" done @@ -52,15 +55,20 @@ function make_buildd_dir () { if [ "${suite}x" = "projectx" ]; then continue; fi cd ${incoming}/dists/${suite}/buildd - apt-ftparchive packages . $overridedir/override.sid.all3 >Packages + overridesuite=sid + if [ "${suite}" = "squeeze-backports" ]; then + overridesuite="${suite}" + fi + + apt-ftparchive packages . $overridedir/override.${overridesuite}.all3 >Packages gzip -9c --rsyncable Packages.gz - apt-ftparchive sources . $overridedir/override.sid.all3 >Sources + apt-ftparchive sources . $overridedir/override.${overridesuite}.all3 >Sources gzip -9c --rsyncable Sources.gz rm -f buildd/Release cd .. apt-ftparchive -qq -o APT::FTPArchive::Release::Origin="Debian" -o APT::FTPArchive::Release::Label="Debian" -o APT::FTPArchive::Release::Description="buildd $suite incoming" -o APT::FTPArchive::Release::Architectures="$archs" release buildd >Release - if [ "$suite" = "experimental" ]; then + if [ "$suite" = "experimental" -o "${suite}" = "squeeze-backports" ]; then echo "NotAutomatic: yes" >>Release fi