From d93fd07144855d1d746078a78899866bebaadec0 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 21 Aug 2019 11:33:51 +0200 Subject: lib/common-functions: expand_blacklist_architectures(): "any" should not be removed - we need it for seed-build-list --- lib/common-functions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/common-functions b/lib/common-functions index 501a5d0..169b209 100755 --- a/lib/common-functions +++ b/lib/common-functions @@ -1095,12 +1095,12 @@ expand_blacklist_architectures() { printf ' ON `architecture_compatibilities`.`runs_on`=`superior`.`id`' # "any" has a special role - it should be regarded as *inferior* to # all architectures - printf ' WHERE `superior`.`name`!="any";\n' + printf ' WHERE `superior`.`name`!="any"' + printf ' AND `inferior`.`name`!="any";\n' printf 'SELECT "any",`architectures`.`name`' printf ' FROM `architectures`;\n' } \ | mysql_run_query \ - | grep -v '\sany$' \ | sort -k1,1 \ > "$1" sort -k1,1 \ -- cgit v1.2.3-70-g09d2