From a7fd63842917112237a3a9ef8a28a846f5f5e10d Mon Sep 17 00:00:00 2001 From: Thomas Wiest Date: Sat, 17 Aug 2024 11:50:48 -0400 Subject: [PATCH] feat: Add zfs-dracut to fedora-coreos and ucore Add zfs-dracut to fedora-coreos and ucore. zfs-dracut is necessary to include zfs when rebuilding initrd. --- fedora-coreos/install.sh | 2 +- ucore/install-ucore-minimal.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fedora-coreos/install.sh b/fedora-coreos/install.sh index c77def9..8849298 100755 --- a/fedora-coreos/install.sh +++ b/fedora-coreos/install.sh @@ -51,7 +51,7 @@ fi ## CONDITIONAL: install ZFS if [[ "-zfs" == "${ZFS_TAG}" ]]; then - rpm-ostree install pv /tmp/rpms/akmods-zfs/kmods/zfs/*.rpm + rpm-ostree install pv /tmp/rpms/akmods-zfs/kmods/zfs/*.rpm /tmp/rpms/akmods-zfs/kmods/zfs/other/zfs-dracut-*.rpm # for some reason depmod ran automatically with zfs 2.1 but not with 2.2 depmod -A ${KERNEL_VERSION} fi diff --git a/ucore/install-ucore-minimal.sh b/ucore/install-ucore-minimal.sh index c5384f9..5d080f4 100755 --- a/ucore/install-ucore-minimal.sh +++ b/ucore/install-ucore-minimal.sh @@ -54,7 +54,7 @@ fi ## CONDITIONAL: install ZFS (and sanoid deps) if [[ "-zfs" == "${ZFS_TAG}" ]]; then - rpm-ostree install pv /tmp/rpms/akmods-zfs/kmods/zfs/*.rpm + rpm-ostree install pv /tmp/rpms/akmods-zfs/kmods/zfs/*.rpm /tmp/rpms/akmods-zfs/kmods/zfs/other/zfs-dracut-*.rpm # for some reason depmod ran automatically with zfs 2.1 but not with 2.2 depmod -A ${KERNEL_VERSION} fi