From 4263071f7300dc492928c5e6a8aaddf947744d67 Mon Sep 17 00:00:00 2001 From: Kai Lueke Date: Fri, 7 Nov 2025 22:28:03 +0900 Subject: [PATCH] sys-kernel/coreos-kernel: Add Fusion storage drivers back to initrd The Fusion MPT SCSI storage drivers were missing from the new minimal initrd because they are not together with the other storage driver modules but live in their own "message/fusion/" folder. Add the "message/fusion/" folder to the initrd modules so that we can load the disk. Dependencies will be resolved by dracut-install as needed. Fixes https://github.com/flatcar/Flatcar/issues/1924 Signed-off-by: Kai Lueke --- changelog/bugfixes/2025-11-07-initrd-fusion-drivers.md | 1 + .../sys-kernel/coreos-kernel/coreos-kernel-6.12.54.ebuild | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changelog/bugfixes/2025-11-07-initrd-fusion-drivers.md diff --git a/changelog/bugfixes/2025-11-07-initrd-fusion-drivers.md b/changelog/bugfixes/2025-11-07-initrd-fusion-drivers.md new file mode 100644 index 0000000000..3160fe10f4 --- /dev/null +++ b/changelog/bugfixes/2025-11-07-initrd-fusion-drivers.md @@ -0,0 +1 @@ +- Alpha only: Added Fusion SCSI disk drivers back to the initrd after they got lost in the rework ([Flatcar#1924](https://github.com/flatcar/Flatcar/issues/1924)) diff --git a/sdk_container/src/third_party/coreos-overlay/sys-kernel/coreos-kernel/coreos-kernel-6.12.54.ebuild b/sdk_container/src/third_party/coreos-overlay/sys-kernel/coreos-kernel/coreos-kernel-6.12.54.ebuild index 77094b324d..e4691515ae 100644 --- a/sdk_container/src/third_party/coreos-overlay/sys-kernel/coreos-kernel/coreos-kernel-6.12.54.ebuild +++ b/sdk_container/src/third_party/coreos-overlay/sys-kernel/coreos-kernel/coreos-kernel-6.12.54.ebuild @@ -115,7 +115,7 @@ src_compile() { cp "${S}"/build/bootengine/lib/modprobe.d/* lib/modprobe.d/ || die # Only include modules related to mounting /usr and for interacting with the emergency console pushd "${S}/build/bootengine/usr/lib/modules/${KV_FULL}" || die - find kernel/drivers/{ata,block,hid,hv,input/serio,mmc,nvme,pci,scsi,usb} kernel/fs/{btrfs,overlayfs,squashfs} kernel/security/keys -name "*.ko.*" -printf "%f\0" | DRACUT_NO_XATTR=1 xargs --null "${BROOT}"/usr/lib/dracut/dracut-install --destrootdir "${S}"/build/minimal --kerneldir . --sysrootdir "${S}"/build/bootengine/ --firmwaredirs "${S}"/build/bootengine/usr/lib/firmware --module dm-verity dm-mod virtio_console || die + find kernel/drivers/{ata,block,hid,hv,input/serio,message/fusion,mmc,nvme,pci,scsi,usb} kernel/fs/{btrfs,overlayfs,squashfs} kernel/security/keys -name "*.ko.*" -printf "%f\0" | DRACUT_NO_XATTR=1 xargs --null "${BROOT}"/usr/lib/dracut/dracut-install --destrootdir "${S}"/build/minimal --kerneldir . --sysrootdir "${S}"/build/bootengine/ --firmwaredirs "${S}"/build/bootengine/usr/lib/firmware --module dm-verity dm-mod virtio_console || die popd || die echo '$MODALIAS=.* 0:0 660 @/sbin/modprobe "$MODALIAS"' > ./etc/mdev.conf || die # We can't use busybox's modprobe because it doesn't support the globs in module.alias, breaking module loading