Advice needed on building ZFS for a custom Bazzite image

Hi all!

I’ve got a personal fork of Bazzite, and I would like to add ZFS to the image. I’m normally a Nix user, so Containerfiles are a little… alien to me.

I did ask here about ZFS in forks. I’m fairly comfortable with kernel building and packaging, but I’m just curious if other people have attempted to inject ZFS in their Bazzite installs.

Ideally, I would need to use Secure Boot.

Has anyone here used Bazzite with ZFS? How did you do it?

Thanks!

Bluefin and Aurora stable/GTS both have zfs.

Bazzite is a bit trickier. We currently don’t build the zfs kmod for the fsync kernels (and we are removing the fsync-coreos-stable possibly which had zfs kmods building).

That said doing something like the fsync-coreos-stable in akmods in your repo to build the zfs kmod and sign with your own MOK would work.

Yeah, that could work. I could use Bluefin - perhaps I could overlay the userland side of things from Bazzite over Bluefin in a layer?

I’m not well-versed with rpm-ostree, so I may need some guidance.