examples: add bootc/ directory#116
Draft
allisonkarlitskaya wants to merge 1 commit intocomposefs:mainfrom
Draft
Conversation
This builds a bootable image from a stock bootc image. It works by appending composefs-setup-root to the existing initramfs by using a second initrd line in the boot loader entry.
cgwalters
approved these changes
May 7, 2025
Collaborator
cgwalters
left a comment
There was a problem hiding this comment.
Looks ok to me but I hope we can make faster progress on the inverse side of doing this from the bootc git repo and integration there.
In particular continuing looming issues like delivery of cfsctl or whether that gets wrapped, overall integration with bootc install (vs the kargs here) etc.
Collaborator
|
This is indeed a workaround but I don't think that's where we should go as this notably won't work for the UKI use case. We should require the image to include all the needed bits. |
Collaborator
OK I think the simplest thing is:
or so? |
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 builds a bootable image from a stock bootc image.
It works by appending composefs-setup-root to the existing initramfs by using a second initrd line in the boot loader entry.
This is an evil little hack but it was kinda fun and maybe we have some sort of use for this sort of thing in the short-term. I'm not sure this is worth merging....