Skip to content

cfs: Use bootupd for all installs if available#2327

Open
Johan-Liebert1 wants to merge 1 commit into
bootc-dev:mainfrom
Johan-Liebert1:bootupd-integration
Open

cfs: Use bootupd for all installs if available#2327
Johan-Liebert1 wants to merge 1 commit into
bootc-dev:mainfrom
Johan-Liebert1:bootupd-integration

Conversation

@Johan-Liebert1

Copy link
Copy Markdown
Collaborator

Check if we have a new enough version of bootupd (by checking if the binary provides a --bootloader flag). If we have a new enough bootupd, use it to install grub-cc and systemd-boot

We do not have this version of bootupd as an rpm package, so this will not break any existing systems.

This is mostly for reverse dep testing in bootupd as testing this for bootc requires packaging bootupd, updating grub-cc and systemd-boot rpms to install their respective EFI binaries in the correct place which they don't right now

@Johan-Liebert1
Johan-Liebert1 requested a review from cgwalters July 20, 2026 09:30
@Johan-Liebert1 Johan-Liebert1 added the ci/tier-1 Run CI for tier-1 OS (centos-10) only label Jul 20, 2026
@github-actions github-actions Bot added the area/install Issues related to `bootc install` label Jul 20, 2026
@bootc-bot
bootc-bot Bot requested a review from gursewak1997 July 20, 2026 09:30
@Johan-Liebert1
Johan-Liebert1 force-pushed the bootupd-integration branch 2 times, most recently from 3e40503 to f2eef01 Compare July 20, 2026 12:22
Check if we have a new enough version of bootupd (by checking if the
binary provides a `--bootloader` flag). If we have a new enough bootupd,
use it to install grub-cc and systemd-boot

We do not have this version of bootupd as an rpm package, so this will
not break any existing systems.

This is mostly for reverse dep testing in bootupd as testing this for
bootc requires packaging bootupd, updating grub-cc and systemd-boot rpms
to install their respective EFI binaries in the correct place which they
don't right now

Signed-off-by: Pragyan Poudyal <pragyanpoudyal41999@gmail.com>
@cgwalters

Copy link
Copy Markdown
Collaborator

Check if we have a new enough version of bootupd (by checking if the binary provides a --bootloader flag). If we have a new enough bootupd, use it to install grub-cc and systemd-boot

This isn't semantically equivalent though, bootupd always installs shim too, but the current direct bootc support for systemd-boot (intentionally) doesn't.

This is kind of a gap in the flow today, as I think our Fedora-derivative examples still include the shim RPM. OK I just did redhat-cop/rhel-bootc-examples#18

@Johan-Liebert1

Copy link
Copy Markdown
Collaborator Author

This isn't semantically equivalent though, bootupd always installs shim too, but the current direct bootc support for systemd-boot (intentionally) doesn't.

yes, that's why this shouldn't affect the current flow, at least until we decide to make a new bootupd release. On that topic, we did have a discussion about a --no-shim flag in bootupd. We could go ahead and add that to bootupd to make it compatible with our current flow

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` ci/tier-1 Run CI for tier-1 OS (centos-10) only

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants