Allow specifying empty variants
The variants.xml file can list a variant with is_empty="true" and no groups. If such variant is found, not package gathering will be run for it, and no repos will be created. This only makes sense for a variant that will have some other deliverables like live media or images. Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
adbc772fd0
commit
454363fba8
8 changed files with 34 additions and 8 deletions
|
|
@ -1,11 +1,12 @@
|
|||
<!ELEMENT variants (ref*,variant*)>
|
||||
|
||||
<!ELEMENT variant (release?,arches,groups,environments*,variants*,buildinstallpackages?)?>
|
||||
<!ELEMENT variant (release?,arches,groups?,environments*,variants*,buildinstallpackages?)?>
|
||||
<!ATTLIST variant
|
||||
id ID #REQUIRED
|
||||
name CDATA #REQUIRED
|
||||
type (variant|addon|optional|layered-product) #REQUIRED
|
||||
has_optional (true|false) #IMPLIED
|
||||
is_empty (true|false) "false"
|
||||
>
|
||||
|
||||
<!ELEMENT release (#PCDATA)>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue