From: Adrian Schröter Date: Thu, 29 Apr 2010 10:05:59 +0000 (+0200) Subject: Support BuildIgnores of kiwi files. Need to be better defined in kiwi, X-Git-Tag: obs_2.0~23 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=545a3158d0a41df5f168c04ac54138116c614a30;p=platform%2Fupstream%2Fbuild.git Support BuildIgnores of kiwi files. Need to be better defined in kiwi, currently this is only possible via onlyarch="skipit" --- diff --git a/Build/Kiwi.pm b/Build/Kiwi.pm index 06f7ab6..0750bcd 100644 --- a/Build/Kiwi.pm +++ b/Build/Kiwi.pm @@ -203,7 +203,11 @@ sub kiwiparse { } # not nice, but optimizes our build dependencies - next if $package->{'onlyarch'} && $package->{'onlyarch'} eq "skipit"; + # FIXME: design a real blacklist option in kiwi + if ($package->{'onlyarch'} && $package->{'onlyarch'} eq "skipit") { + push @packages, "-".$package->{'name'}; + next; + } # we need this package push @packages, $package->{'name'};