From: Adrian Schröter Date: Fri, 16 Sep 2011 10:09:06 +0000 (+0200) Subject: - fix lacking -32bit rpms on single arch medias X-Git-Tag: upstream/20120927~175 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d22d1284936d5df911492d099703c3edbf3070d2;p=platform%2Fupstream%2Fbuild.git - fix lacking -32bit rpms on single arch medias --- diff --git a/Build/Kiwi.pm b/Build/Kiwi.pm index 05a6e5b..b426541 100644 --- a/Build/Kiwi.pm +++ b/Build/Kiwi.pm @@ -231,6 +231,12 @@ sub kiwiparse { push @additionalarchs, split(',', $package->{'onlyarch'}) if $package->{'onlyarch'}; } @requiredarch = unify(@requiredarch, @additionalarchs); + + #### FIXME: kiwi files have no informations where to get -32bit packages from + push @requiredarch, "i586" if grep {/^ia64/} @requiredarch; + push @requiredarch, "i586" if grep {/^x86_64/} @requiredarch; + push @requiredarch, "ppc" if grep {/^ppc64/} @requiredarch; + push @requiredarch, "s390" if grep {/^s390x/} @requiredarch; my @fallbackarchs; for my $arch (@requiredarch) {