Skip to content

Conversation

@cgwalters
Copy link
Collaborator

For historical reasons the ostree sepolicy API can exist as a no-op even if it didn't find a policy, one has to query .csum() or .name() to verify it's present.

In our code just map that case to None.

Followup to 99d30df to ensure we consistently handle this case.

For historical reasons the ostree sepolicy API can exist as a
no-op even if it didn't find a policy, one has to query `.csum()`
or `.name()` to verify it's present.

In our code just map that case to None.

Followup to 99d30df
to ensure we consistently handle this case.

Signed-off-by: Colin Walters <[email protected]>
@cgwalters cgwalters requested a review from ckyrouac May 15, 2025 18:50
@github-actions github-actions bot added the area/install Issues related to `bootc install` label May 15, 2025
@cgwalters cgwalters merged commit 635af16 into bootc-dev:main May 15, 2025
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/install Issues related to `bootc install`

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants