Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install: Add bootc install finalize-filesystem #1115

Open
cgwalters opened this issue Feb 14, 2025 · 1 comment
Open

install: Add bootc install finalize-filesystem #1115

cgwalters opened this issue Feb 14, 2025 · 1 comment
Labels
area/install Issues related to `bootc install` enhancement New feature or request

Comments

@cgwalters
Copy link
Collaborator

Today we allow:

  • bootc install to-filesystem
  • (arbitrary mutation of the target root, i.e. injection of kargs, files in /etc
  • reboot into system

For things like #971 but also in general I think we should add:

  • bootc install to-filesystem
  • (arbitrary mutation of the target root, i.e. injection of kargs, files in /etc
  • bootc install finalize-filesystem
  • reboot into system

Where finalize-filesystem has to be optional but becomes our "hook" into the process so we can detect or automatically fix things, without having to change each higher level thing (e.g. anaconda, bib, or really arbitrary user code invoking bootc install to-filesystem).

@cgwalters cgwalters added area/install Issues related to `bootc install` enhancement New feature or request labels Feb 14, 2025
@cgwalters
Copy link
Collaborator Author

The other thing of course we really should do is support something like:

bootc install runc or so to spawn the target root as a container, set up "properly" including how ostree-prepare-root, especially with composefs and honoring etc.transient and such...but unfortunately such a thing would be I think a bit hard to get into e.g. Anaconda right now.

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` enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant