Allow filtering comps for different variants
We already filter for arches, so this just extends the filter to work with variants as well. Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
d7021c5688
commit
a217eea24e
20 changed files with 281 additions and 55 deletions
|
|
@ -118,6 +118,7 @@ def write_variant_comps(compose, arch, variant):
|
|||
compose.log_debug(msg)
|
||||
run(["comps_filter", "--arch=%s" % arch, "--keep-empty-group=conflicts",
|
||||
"--keep-empty-group=conflicts-%s" % variant.uid.lower(),
|
||||
"--variant=%s" % variant.uid,
|
||||
"--output=%s" % comps_file, compose.paths.work.comps(arch="global")])
|
||||
|
||||
comps = CompsWrapper(comps_file)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue