From: Ansgar Burchardt Date: Sat, 4 Apr 2015 10:50:16 +0000 (+0200) Subject: generate-d-i: Only look at architectures in testing. X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=89a293c17a4a4c4fd8e3919edc88136d7477b6fa;hp=7066337f607d0b8e116557a94ab2d4978094f2be;p=dak.git generate-d-i: Only look at architectures in testing. --- diff --git a/scripts/debian/generate-d-i b/scripts/debian/generate-d-i index 5d6bca78..391e8308 100755 --- a/scripts/debian/generate-d-i +++ b/scripts/debian/generate-d-i @@ -44,7 +44,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 +62,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; "