Re: [PATCH v2 2/5] host/rootfs: integrate spectrum-installer

Johannes Süllner
2026-02-05T08:56:22Z

On Thu Feb 5, 2026 at 5:17 AM CET, Demi Marie Obenour wrote:
> On 2/4/26 12:55, Johannes Süllner wrote:
>> The installer needs to run as root, so that `systemd-repart` can write
>> to disks. Since Weston is not running as root (since b26f59e), just as
>> with the root terminal, we add a s6-sudod service for the installer.
>
> Could this be conditional to the live image? Installed images don't
> need it.

I think currently, the only difference between a live system and an
installed system is the presence of the B slot partitions. So pretty
much the only solution I can think of is adding an overlay filesystem
to the live image and moving the installer into that.
I welcome other ideas of course.