From 89a293c17a4a4c4fd8e3919edc88136d7477b6fa Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Sat, 4 Apr 2015 12:50:16 +0200 Subject: [PATCH] generate-d-i: Only look at architectures in testing. --- scripts/debian/generate-d-i | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; " -- 2.39.5