Skip to content

Conversation

@jlebon
Copy link
Member

@jlebon jlebon commented Jul 10, 2025

bootc owns files in /usr/share/doc which are correctly marked as documentation, but because of a bug in rpm-ostree, the subdirectories are still installed even with documentation: false. This throws off bootc container lint.

This is fixed in newer bootc, but not RHEL 9.6.

Work around this there by checking if documentation is turned off whether the issue is fixed, and if not, just "pass through" the docs into the installed target via another overlay. This then will only activate when building RHCOS 9.6. (Also c9s currently until bootc is rebased there.)

jlebon added 2 commits July 10, 2025 09:10
Noticed by Dusty in a previous patch.
bootc owns files in `/usr/share/doc` which are correctly marked as
documentation, but because of a bug in rpm-ostree, the subdirectories
are still installed even with `documentation: false`. This throws off
`bootc container lint`.

This is fixed in newer bootc, but not RHEL 9.6.

Work around this there by checking if documentation is turned off
whether the issue is fixed, and if not, just "pass through" the docs
into the installed target via another overlay. This then will only
activate when building RHCOS 9.6. (Also c9s currently until bootc is
rebased there.)
Copy link
Member

@cgwalters cgwalters left a comment

Choose a reason for hiding this comment

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

Looks sane to me

@jlebon jlebon merged commit 8fd0b4b into coreos:testing-devel Jul 10, 2025
4 checks passed
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