Skip to content

Conversation

@cgwalters
Copy link
Collaborator

The Dockerfile right now doesn't build an RPM, so this ensures the two build systems match. We should probably also change the RPM to use this Makefile.

Motivated by accidentally merging a change that breaks with the feature on.

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 enables the rhsm cargo feature by default on RHEL-like systems by inspecting /usr/lib/os-release in the Makefile. This is a good step towards unifying the build configurations. My review focuses on improving the portability and clarity of the Makefile changes. I've identified a portability issue with the shell command used for OS detection and suggested a more robust, POSIX-compliant alternative. Additionally, I've proposed a change to make the build command cleaner by conditionally including the --features flag.

The Dockerfile right now doesn't build an RPM, so this
ensures the two build systems match. We should probably
also change the RPM to use this Makefile.

Motivated by accidentally merging a change that breaks
with the feature on.

Signed-off-by: Colin Walters <[email protected]>
@cgwalters cgwalters merged commit 1537946 into bootc-dev:main Aug 19, 2025
26 of 27 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