bootc-dev / bootc-dev/bootc

install: Support /usr/lib/bootc/install-to-disk executable

Open
#440 1 comment 0 reactions 0 assignees View on GitHub
area/install area/osintegration
Dominant language
Rust
Stars
2.3k
Forks
230
Avg merge
3d 12h
Merged PRs (30d)
38

Description

One thing to consider: Support the container image to shipping its own default `to-disk` installer that sets up partitioning etc. that is an executable in `/usr/lib/bootc/install-to-disk` for example.

This would be clearer actually if we more cleanly severed the existing "to-disk" and "to-filesystem" code here, and we ship the `to-disk` setup as `/usr/lib/bootc/install-to-disk.default` or something?

Also xref https://github.com/containers/bootc/issues/437 where I think we need configurability for what the base image supports in general.

---

Alternatively to this, what I think could work well is just recommending that folks add their own `bootc install` wrapper in the container image e.g. `/usr/bin/exampleos-installer` that sets up partitioning using whatever CLI and configfiles it wants, then just invokes `bootc install to-filesystem`. Then they can also drop in a config file that disables `bootc install to-disk` entirely.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.