bootc-dev / bootc-dev/bootc

Investigate alignment/intersection with systemd-repart

Open
#448 2 comments 0 reactions 0 assignees View on GitHub
area/install area/install-to-disk enhancement
Dominant language
Rust
Stars
2.3k
Forks
230
Avg merge
3d 12h
Merged PRs (30d)
38

Description

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)

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.