From 6448505e6f7dfa7a50be40b1184bf336b1af3bf7 Mon Sep 17 00:00:00 2001 From: Adam Fidel Date: Fri, 5 Sep 2025 09:52:36 -0500 Subject: [PATCH] fix: add lvm+dm modules to dracut --- Containerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Containerfile b/Containerfile index 45224b7..a32761e 100644 --- a/Containerfile +++ b/Containerfile @@ -60,7 +60,7 @@ RUN --mount=type=tmpfs,dst=/tmp cd /tmp && \ RUN env \ KERNEL_VERSION="$(basename "$(find "${BOOTC_ROOTFS_MOUNTPOINT}/usr/lib/modules" -maxdepth 1 -type d | grep -v -E "*.img" | tail -n 1)")" \ - sh -c 'dracut --force -r "${BOOTC_ROOTFS_MOUNTPOINT}" --no-hostonly --reproducible --zstd --verbose --kver "${KERNEL_VERSION}" --add ostree "${BOOTC_ROOTFS_MOUNTPOINT}/usr/lib/modules/${KERNEL_VERSION}/initramfs.img"' + sh -c 'dracut --force -r "${BOOTC_ROOTFS_MOUNTPOINT}" --no-hostonly --reproducible --zstd --verbose --kver "${KERNEL_VERSION}" --add ostree lvm dm "${BOOTC_ROOTFS_MOUNTPOINT}/usr/lib/modules/${KERNEL_VERSION}/initramfs.img"' RUN cd "${BOOTC_ROOTFS_MOUNTPOINT}" && \ mkdir -p boot sysroot var/home && \