From ba75ea46bf9900ecd9d9d3e63be7f16ae39e9ad9 Mon Sep 17 00:00:00 2001 From: Anders Rytter Hansen Date: Sat, 14 Dec 2024 19:29:31 +0100 Subject: [PATCH] Build ZFS module manually --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index de8559f..16e3b59 100644 --- a/Dockerfile +++ b/Dockerfile @@ -143,6 +143,8 @@ RUN rpm-ostree install vdo bees # Install ZFS RUN rpm -e --nodeps zfs-fuse && rpm-ostree install https://zfsonlinux.org/fedora/zfs-release-2-6$(rpm --eval "%{dist}").noarch.rpm && rpm-ostree install kernel-cachyos-lto-devel && rpm-ostree install zfs --uninstall zfs-fuse +# Build ZFS module manually +RUN dkms install zfs/$(ls /usr/src/ | grep zfs- | cut -d- -f2-) -k $(rpm -q --queryformat "%{VERSION}-%{RELEASE}.%{ARCH}\n" kernel-cachyos-lto) # disable scx service RUN systemctl disable scx.service