Skip to content

Conversation

@Johan-Liebert1
Copy link
Collaborator

We'd want to do this as the permissions for /usr might be different on different distros

We'd want to do this as the permissions for /usr might be different on
different distros

Signed-off-by: Pragyan Poudyal <pragyanpoudyal41999@gmail.com>
@Johan-Liebert1 Johan-Liebert1 marked this pull request as ready for review December 11, 2025 07:09
@bootc-bot bootc-bot bot requested a review from ckyrouac December 11, 2025 07:10
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the composefs_usr_overlay function to dynamically retrieve the file mode from the underlying /usr directory, replacing a hardcoded value. This is a good improvement as it ensures the overlayfs for /usr is created with the correct permissions, which can vary between different Linux distributions. The implementation is correct, clear, and uses appropriate error handling. I have no further suggestions.

@cgwalters cgwalters merged commit cc99b4e into bootc-dev:main Dec 11, 2025
48 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.

2 participants