Flatcar: OS Innovation with Systemd-Sysext
flatcar.org
Flatcar: OS Innovation with Systemd-Sysext
1–10 of 19 posts
Re: Flatcar: OS Innovation with Systemd-Sysext
#2https://www.freedesktop.org/software/systemd/man/latest/syst...
Re: Flatcar: OS Innovation with Systemd-Sysext
#3Re: Flatcar: OS Innovation with Systemd-Sysext
#4I've used systemd-sysext's to add system level software to my Steam Deck withough having to unseal the root partition. It's slightly annoying in that that I have to rebuild the ext's every time the system updates, but otherwise they work great.
If you want to repackage distro binaries without recompilation, you can have a look here: https://github.com/flatcar/sysext-bakery/pull/74 There are two tools, one can bundle the needed libs in a separate folder, and the other one works more like Flatpak and uses a full chroot. Since you already know what files are needed at runtime I think you could try the first approach, otherwise the second might be easier.
Re: Flatcar: OS Innovation with Systemd-Sysext
#5Re: Flatcar: OS Innovation with Systemd-Sysext
#6Re: Flatcar: OS Innovation with Systemd-Sysext
#7Slightly off-topic, but I wonder if there is something like Flatcar for LXC/LXD/Incus, my preferred container runtime. Would be much better than what I do right now, a locked down openSUSE host server.
Flatcar inside Incus is a bit more difficult: for Flatcar being a container one can import https://stable.release.flatcar-linux.net/amd64-usr/current/f... and for it being a VM I don't know if the regular image works. A major hurdle is that one has to tweak the way VMs/containers are configured because normally Ubuntu's cloud-init is used but in Flatcar only coreos-cloudinit or Ignition is supported and there are differences in the way the user-data has to be set up and the contents as well. But in the end Incus would be one more "cloud" platform to support and one could make the Incus integration as nice as with other platforms where Flatcar runs on (OpenStack, VMware, etc.).
Re: Flatcar: OS Innovation with Systemd-Sysext
#8I've used systemd-sysext's to add system level software to my Steam Deck withough having to unseal the root partition. It's slightly annoying in that that I have to rebuild the ext's every time the system updates, but otherwise they work great.
The only issue I've had is their static snapshot of arch has some inconsistent dependencies from time to time that need manual handling, and occasionally they are missing a cert change so you either choose to trust the package from their server anyway and install it with a cert skip, or do without.
Aside from that, everything seems to work well, and if there were any problems, well I can always just reboot with the SD card removed.
I was worried about how /etc might interact with their stuff, but seems fine so far, and I assume they left it writeable for a reason. I do do backups just in case.
Re: Flatcar: OS Innovation with Systemd-Sysext
#9Re: Flatcar: OS Innovation with Systemd-Sysext
#10Ublue Bluefin are looking for use systemd-ext too https://universal-blue.discourse.group/t/bluefin-is-feature-...
We have indeed been playing with this! We think it's a great compliment to extending an ostree OCI base image and hope to bolt on all sorts of goodies. Lots of cool innovation happening in this space right now, it's awesome stuff.