X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=scripts%2Fdebian%2Fgenerate-d-i;h=d5deea458a72d9122c6cdf937dc24ed0a728be82;hb=2f03955b56fa89c67a9d45af6543b82adb4b1f41;hp=5d6bca78f5333ddceb1c5e844a9abc8db42c2559;hpb=7066337f607d0b8e116557a94ab2d4978094f2be;p=dak.git diff --git a/scripts/debian/generate-d-i b/scripts/debian/generate-d-i index 5d6bca78..d5deea45 100755 --- a/scripts/debian/generate-d-i +++ b/scripts/debian/generate-d-i @@ -3,6 +3,8 @@ # Original written from Jeroen van Wolffelaar set -e +set -u + export SCRIPTVARS=/srv/ftp-master.debian.org/dak/config/debian/vars . $SCRIPTVARS @@ -44,7 +46,7 @@ psql -c " AND NOT EXISTS (SELECT 1 FROM bin_associations ba2 WHERE ba2.suite = ${testing_id} AND ba2.bin = ba.bin) AND s.id IN (SELECT source from src_associations WHERE suite = ${testing_id}) AND b.type = 'udeb' - AND b.architecture NOT IN (4,8,12) + AND b.architecture IN (SELECT architecture FROM suite_architectures WHERE suite = ${testing_id}) ORDER BY s.source, b.package, b.architecture; " @@ -62,6 +64,6 @@ psql -c " AND NOT EXISTS (SELECT 1 FROM bin_associations ba2 WHERE ba2.suite = ${testing_id} AND ba2.bin = ba.bin) AND s.id IN (SELECT source from src_associations WHERE suite = ${testing_id}) AND b.type = 'udeb' - AND b.architecture NOT IN (4,8,12) + AND b.architecture IN (SELECT architecture FROM suite_architectures WHERE suite = ${testing_id}) ORDER BY s.source, b.package, b.architecture; "