coreos / layering-examples

Apache License 2.0
111 stars 24 forks source link

Add install-zfs-dkms-module example #66

Open twiest opened 1 year ago

twiest commented 1 year ago

Add install-zfs-dkms-module example

twiest commented 1 year ago

Looks like this is failing because fedora-cores stable has kernel version 6.4.7 and the ZFS package requires a maximum kernel version of 6.3.999.

ZFS does this on purpose because the kernel symbols can change and they have to ensure that they work with each version of the kernel.

This will automatically start working once the ZFS package is updated to allow for kernel 6.4.x.

Until then, I'm going to mark this as a draft PR.

jmarrero commented 1 year ago

Nice, this is a lot simpler than building the module zfs from scratch like we did for: https://github.com/coreos/layering-examples/blob/main/build-zfs-module/Containerfile.

jmarrero commented 1 year ago

I guess we only run CI when someone changes the example, so merging this would not throw a bunch of failures at us every time fedora updates the kernel to a version not supported by ZFS.

andrewgdunn commented 1 year ago

This works now with the recent release from the upstream zfs project. Thanks for the awesome example.

jmarrero commented 9 months ago

@twiest anything new and cool you have done to your Containerfile that you want to update here before I merge it?