projects
/
tools
/
obs-build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
539a7a6
)
Support BuildIgnores of kiwi files. Need to be better defined in kiwi,
author
Adrian Schröter
<adrian@suse.de>
Thu, 29 Apr 2010 10:05:59 +0000
(12:05 +0200)
committer
Adrian Schröter
<adrian@suse.de>
Thu, 29 Apr 2010 10:07:00 +0000
(12:07 +0200)
currently this is only possible via onlyarch="skipit"
Build/Kiwi.pm
patch
|
blob
|
history
diff --git
a/Build/Kiwi.pm
b/Build/Kiwi.pm
index
06f7ab6
..
0750bcd
100644
(file)
--- 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'};