Skip to content

conditions: add not_arch - #2621

Merged
supakeen merged 1 commit into
osbuild:mainfrom
supakeen:not-arch
Aug 26, 2026
Merged

conditions: add not_arch#2621
supakeen merged 1 commit into
osbuild:mainfrom
supakeen:not-arch

Conversation

@supakeen

Copy link
Copy Markdown
Member

Support a not_arch condition similar to not_distro, this is useful for this 1 PR to exclude firmware packages only on s390x.

@supakeen
supakeen requested a review from a team as a code owner August 26, 2026 04:44
Support a `not_arch` condition similar to `not_distro`, this is useful
for this [1] PR to exclude firmware packages only on `s390x`.

[1]: osbuild#2620

Signed-off-by: Simon de Vlieger <cmdr@supakeen.com>

@avitova avitova left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Although I do not like the Eval function, this addition looks good.
Why are we using the match = match && ..., when we can just return false as soon as match == false?

@supakeen

Copy link
Copy Markdown
Member Author

Although I do not like the Eval function, this addition looks good.
Why are we using the match = match && ..., when we can just return false as soon as match == false?

Good question since they're documented as AND, consistency for now though.

@supakeen
supakeen added this pull request to the merge queue Aug 26, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Aug 26, 2026
@supakeen
supakeen added this pull request to the merge queue Aug 26, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Aug 26, 2026
@supakeen
supakeen added this pull request to the merge queue Aug 26, 2026
Merged via the queue into osbuild:main with commit 84f8998 Aug 26, 2026
54 checks passed
@supakeen
supakeen deleted the not-arch branch August 26, 2026 19:15
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.

3 participants