Skip to content
This repository was archived by the owner on Mar 19, 2026. It is now read-only.

Commit 6448505

Browse files
committed
fix: add lvm+dm modules to dracut
1 parent 07c2a63 commit 6448505

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Containerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ RUN --mount=type=tmpfs,dst=/tmp cd /tmp && \
6060

6161
RUN env \
6262
KERNEL_VERSION="$(basename "$(find "${BOOTC_ROOTFS_MOUNTPOINT}/usr/lib/modules" -maxdepth 1 -type d | grep -v -E "*.img" | tail -n 1)")" \
63-
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"'
63+
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"'
6464

6565
RUN cd "${BOOTC_ROOTFS_MOUNTPOINT}" && \
6666
mkdir -p boot sysroot var/home && \

0 commit comments

Comments
 (0)