Files
secureblue/files/scripts/zfspostinstall.sh
2024-12-01 13:16:55 -08:00

14 lines
334 B
Bash

#!/usr/bin/env bash
# Tell build process to exit if there are any errors.
set -oue pipefail
echo '
omit_dracutmodules+=" zfs "
' > /usr/lib/dracut/dracut.conf.d/99-omit-zfs.conf
KERNEL_VERSION=$(skopeo inspect docker://ghcr.io/ublue-os/akmods:coreos-testing-41 | jq -r '.Labels["ostree.linux"]')
depmod -a -v "${KERNEL_VERSION}"