Skip to content

bootloader: Chroot into composefs image root for bootupd installs#2302

Open
cgwalters wants to merge 2 commits into
bootc-dev:mainfrom
cgwalters:bootloader-chroot-generalize
Open

bootloader: Chroot into composefs image root for bootupd installs#2302
cgwalters wants to merge 2 commits into
bootc-dev:mainfrom
cgwalters:bootloader-chroot-generalize

Conversation

@cgwalters

Copy link
Copy Markdown
Collaborator

No description provided.

cgwalters added 2 commits July 9, 2026 13:04
This is less ostree specific; prep work for
issue bootc-dev#2270, which wants the composefs backend to use the same
chroot mechanism.

Signed-off-by: Colin Walters <[email protected]>
Closes: bootc-dev#2270

Like the ostree backend, run bootupctl inside a chroot of the target
system rather than the host, so we use the bootupd binaries and
plugins shipped in the deployed container image. This is needed for
use cases like Anaconda.

This turned out to be fairly complicated though in terms of
how we set up the bind mounts; see the code for details.

Generated-by: https://github.com/cgwalters/#llms
Signed-off-by: Colin Walters <[email protected]>
@github-actions github-actions Bot added the area/install Issues related to `bootc install` label Jul 9, 2026
@bootc-bot bootc-bot Bot requested a review from gursewak1997 July 9, 2026 17:05
@cgwalters cgwalters linked an issue Jul 9, 2026 that may be closed by this pull request
@cgwalters cgwalters added the ci/tier-1 Run CI for tier-1 OS (centos-10) only label Jul 9, 2026
@cgwalters cgwalters enabled auto-merge July 9, 2026 17:21
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.

[composefs backend]: chroot for bootloader installations

1 participant