Skip to content

examples: add bootc/ directory#116

Draft
allisonkarlitskaya wants to merge 1 commit into
composefs:mainfrom
allisonkarlitskaya:evil
Draft

examples: add bootc/ directory#116
allisonkarlitskaya wants to merge 1 commit into
composefs:mainfrom
allisonkarlitskaya:evil

Conversation

@allisonkarlitskaya

Copy link
Copy Markdown
Collaborator

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....

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 cgwalters left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@travier

travier commented May 12, 2025

Copy link
Copy Markdown
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.

@cgwalters

Copy link
Copy Markdown
Collaborator

We should require the image to include all the needed bits.

OK I think the simplest thing is:

or so?

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.

3 participants