Skip to content

Comments

multibuild: add buildemptyflavor attribute to _multibuild xml#1124

Open
rjd15372 wants to merge 1 commit intoopenSUSE:masterfrom
rjd15372:emptybuildflavor
Open

multibuild: add buildemptyflavor attribute to _multibuild xml#1124
rjd15372 wants to merge 1 commit intoopenSUSE:masterfrom
rjd15372:emptybuildflavor

Conversation

@rjd15372
Copy link

This commit adds support for a new _multibuild root attribute, buildemptyflavor, with boolean values true|false.

With this attribute we can control whether the base package should be built or not when using multibuilds.

In summary this implementation includes:

  • Extend multibuild XML parsing to accept buildemptyflavor.
  • Validate buildemptyflavor in multibuild verification logic.
  • Keep existing behavior by default (true when unset): build base package plus flavored packages.
  • When buildemptyflavor="false", skip the base package task and build only pkg:flavor entries.

This commit adds support for a new `_multibuild` root attribute, `buildemptyflavor`,
with boolean values `true|false`.

With this attribute we can control whether the base package should be
built or not when using multibuilds.

In summary this implementation includes:
* Extend multibuild XML parsing to accept `buildemptyflavor`.
* Validate `buildemptyflavor` in multibuild verification logic.
* Keep existing behavior by default (true when unset): build base package plus flavored packages.
* When `buildemptyflavor="false"`, skip the base package task and build only `pkg:flavor` entries.

Signed-off-by: Ricardo Dias <ricardo.dias@percona.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant