Repository navigation
Add new ostree-iso image type (HMS-10627) - #2799
Merged
Merged
Conversation
brlane-rht
force-pushed
the
main-ostree-iso
branch
2 times, most recently
from
October 29, 2026 16:51
5c9dc6b to
24ff533
Compare
avitova
reviewed
Nov 2, 2026
avitova
left a comment
Contributor
There was a problem hiding this comment.
Thanks! I roughly checked this, it was a lot, but I have some small comments.
This is needed in order for the ostree substitution to run on the various different bootloaders. Return a list of config files containing the kernel options for later use. Related: HMS-10627
Related: HMS-10627
This creates an iso that boots an ostree commit from the root filesystem. It expects the TreePipeline to contain the kernel, initrd, and pre-compressed root filesystem. It is used by the ostree-iso image type. Related: HMS-10627
brlane-rht
force-pushed
the
main-ostree-iso
branch
from
November 2, 2026 23:32
24ff533 to
25e908a
Compare
avitova
requested changes
Nov 3, 2026
avitova
left a comment
Contributor
There was a problem hiding this comment.
Thanks for updating this. I took a second round, since there was quite a few changes. Could you address errors in raw_bootc.go mainly?
This will allow installing containers into mounted filesystems, like the raw bootc filesystem used for generic-iso Adds a new function, GenContainerStorageStagesWithMounts, and changes GenContainerStorageStages to wrap it without passing devices or mounts. Related: HMS-10627
This adds the ability to embed containers into the bootc filesystem container storage at /var/lib/containers/storage, making them available to the root user of the image. Set the PayloadContainers to the container source specs to be added, after the initial call to NewRawBootcImage. Related: HMS-10627
This builds on top of BootcRootFS, also used by the bootc PXE tar image type, to create an iso containing a compressed ostree commit root filesystem. Related: HMS-10627
This checks the container for the required initrd modules, uses blueprint customizations, and uses the yaml definitions to setup the iso customizations. Related: HMS-10627
This enables creation of the bootc based iso, allowing support for adding payloads and customizations. The root filesystem uses erofs compression. Resolves: HMS-10627
This tests for expected stages, and tests to make sure the aarch64 version does not include the legacy i386 grub2 support files. Related: HMS-10627
This enables generating the ostree-iso manifest checksums. It adds fake containers that include the required dracut modules for the initrd check, and generates the new checksums. Related: HMS-10627
Include an example Containerfile, explain that it boots an ostree commit from an erofs compressed root filesystem. Related: HMS-10627
brlane-rht
force-pushed
the
main-ostree-iso
branch
from
November 4, 2026 00:14
25e908a to
958eacf
Compare
achilleas-k
approved these changes
Nov 4, 2026
achilleas-k
left a comment
Member
There was a problem hiding this comment.
Very nice. No notes.
LGTM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds a new image type, ostree-iso, which creates an iso with an erofs compressed root filsystem that boots from an ostree commit. generic-iso remains the same, booting from a rootfs that is a copy of the deployed ostree commit.
This replaces #2414