Hi,
I've been successfully experimenting with ostree-ifying debian, using the attached script with initramfs-tools.
It's not particularly polished, and essentially assumes:
- The `systemd-remount-fs.service` unit is masked
- You passed `boot=ostree` on the cmdline, so initramfs-tools sources the script
- That you want to use the `sysroot.readonly=true` option
Ideally the `/usr/lib/ostree/ostree-prepare-root` utility could be used, but I found it easier start experimenting with manually mounting everything.
Perhaps that script is of use to someone.
I'm not sure how much interest there is in building something similar to Fedora Silverblue using Debian, but there are a couple of other things, that would be useful:
- A udeb with just the ostree utility for use in the installer, that would allow building a installer using the existing d-i components.
I currently use the `copy_exec` function from initramfs-tools to build such a udeb, and while some libraries are already packaged as udeb, ostree has a lot of dependencies, and gpg verification doesn't work.
- Shipping sysuser and tmpfiles for every debian package