bootc-dev / bootc-dev/bootc

Investigate alignment/intersection with systemd-repart

Aperta
#448 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
area/install area/install-to-disk enhancement
Lingua principale
Rust
Stelle
2.3k
Fork
230
Merge medio
3g 12h
PR unite (30g)
38

Descrizione

Let's look at [systemd repart](https://www.freedesktop.org/software/systemd/man/latest/systemd-repart.service.html) and our intersections with it.

A big picture overall thing here is that `bootc install` defaults to having one rootfs and inherently can work on top of any filesystem or block storage. A key thing is that the operating system size is dynamic, not a fixed partition A/B setup.

systemd-repart is definitely oriented towards DDIs and the discoverable partition spec and less so to this path, but it is obviously very general.

I think a baseline pattern that would be neat to support is injecting repart configs into the base container image to define a distinct `/var` partition.

A great first target would be e.g. initializing EBS instance store volumes in AWS, or the NTFS partition in Azure.

(Note, it looks like the service is designed to run from the initrd, so we'll want to document either regenerating or more ideally *appending* to the initrd)

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.