From 545a3158d0a41df5f168c04ac54138116c614a30 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Adrian=20Schr=C3=B6ter?= Date: Thu, 29 Apr 2010 12:05:59 +0200 Subject: [PATCH] Support BuildIgnores of kiwi files. Need to be better defined in kiwi, currently this is only possible via onlyarch="skipit" --- Build/Kiwi.pm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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'}; -- 2.7.4