How does one use the akmods module to install zfs?

I used the following yaml
modules:
- type: akmods
base: coreos-stable
install:
- zfs
modules:
- type: akmods
base: coreos-stable
install:
- zfs
But I receive the following output:
Error: building at STEP "RUN --mount=type=bind,from=stage-files,src=/files,dst=/tmp/files,rw --mount=type=bind,from=ghcr.io/blue-build/modules/akmods:latest,src=/modules,dst=/tmp/modules,rw --mount=type=bind,from=stage-akmods-coreos-stable,src=/rpms,dst=/tmp/rpms,rw --mount=type=bind,src=.bluebuild-scripts_,dst=/tmp/scripts/,Z --mount=type=cache,dst=/var/cache/rpm-ostree,id=rpm-ostree-cache-plasma-desktop-20251123-43,sharing=locked --mount=type=cache,dst=/var/cache/libdnf5,id=dnf-cache-plasma-desktop-20251123-43,sharing=locked /tmp/scripts/run_module.sh 'akmods' '{"type":"akmods","base":"coreos-stable","install":["zfs"]}'": while running runtime: exit status 1
ERROR => Failed:
Error: building at STEP "RUN --mount=type=bind,from=stage-files,src=/files,dst=/tmp/files,rw --mount=type=bind,from=ghcr.io/blue-build/modules/akmods:latest,src=/modules,dst=/tmp/modules,rw --mount=type=bind,from=stage-akmods-coreos-stable,src=/rpms,dst=/tmp/rpms,rw --mount=type=bind,src=.bluebuild-scripts_,dst=/tmp/scripts/,Z --mount=type=cache,dst=/var/cache/rpm-ostree,id=rpm-ostree-cache-plasma-desktop-20251123-43,sharing=locked --mount=type=cache,dst=/var/cache/libdnf5,id=dnf-cache-plasma-desktop-20251123-43,sharing=locked /tmp/scripts/run_module.sh 'akmods' '{"type":"akmods","base":"coreos-stable","install":["zfs"]}'": while running runtime: exit status 1
ERROR => Failed:
I have been building images from an image base of aurora-dx with zfs for some time now. But now I am now looking to use a slimmer base image and add most of my own configs in there. ZFS support is basically the last piece I need to figure out. I've tried this on the following base images with both 42 and 43 variants: - ghcr.io/ublue-os/kinoite-main - ghcr.io/ublue-os/base-main - ghcr.io/blue-build/base-images/fedora-kinoite
4 Replies
Luke Skywunker
Mind putting a link to your build here? There's definitely more to the error message
Glycerine
GlycerineOP2w ago
I am using bluebuild cli. Here is the output text https://termbin.com/wzzu
Luke Skywunker
l/plasma-desktop:latest => ============================ Start 'akmods' Module ============================
l/plasma-desktop:latest => Installing akmods
l/plasma-desktop:latest => Total length of modules to install: 1
l/plasma-desktop:latest => Installing: zfs
l/plasma-desktop:latest => ============================ Failed 'akmods' Module ============================
l/plasma-desktop:latest => ============================ Start 'akmods' Module ============================
l/plasma-desktop:latest => Installing akmods
l/plasma-desktop:latest => Total length of modules to install: 1
l/plasma-desktop:latest => Installing: zfs
l/plasma-desktop:latest => ============================ Failed 'akmods' Module ============================
Yeah not much of an error @fiftydinar would you have any ideas?
fiftydinar
fiftydinar2w ago
without set -x, it's hard to know maybe zfs is not available anymore

Did you find this page helpful?