Flatcar icon indicating copy to clipboard operation
Flatcar copied to clipboard

Setup systemd-sysext for the rootfs in the initrd already

Open pothos opened this issue 2 years ago • 1 comments

Run systemd-sysext for /sysroot in the initrd already, and make systemd-sysext.service handle this (first upstream PR https://github.com/systemd/systemd/pull/27161 but ideally the refresh would be skipped), this can be tested in Flatcar (should run after initrd-setup-root-after-ignition.service) but this new initrd unit should be upstreamed.

As far as I know the upstream wish was also to support mounting /var through a kernel cmdline parameter to be able to account for sysext images under /var but not sure if this is a blocker.

pothos avatar Mar 24 '23 06:03 pothos

PR in https://github.com/flatcar/scripts/pull/3555 including patches for systemd to fix limitations/bugs and add skipping logic.

pothos avatar Dec 15 '25 04:12 pothos