[linux-uc20-efi][PATCH 1/1] UBUNTU: [Debian] Add megaraid_sas into initrd
Wen-chien Jesse Sung
jesse.sung at canonical.com
Fri Jan 22 10:56:00 UTC 2021
BugLink: https://launchpad.net/bugs/1912752
Module megaraid_sas is required in order to some systems to boot with
the pc-kernel snap. Append megaraid_sas to ubuntu-core-initramfs.conf
before using ubuntu-core-initramfs to generate the initrd in order to
include the particular module.
Signed-off-by: Wen-chien Jesse Sung <jesse.sung at canonical.com>
---
debian/rules | 1 +
1 file changed, 1 insertion(+)
diff --git a/debian/rules b/debian/rules
index 1d85292..fc46042 100755
--- a/debian/rules
+++ b/debian/rules
@@ -50,6 +50,7 @@ override_dh_auto_build:
apt-get download $$pkg; \
dpkg-deb -x $${pkg}_*.deb $$flavour; \
); \
+ echo megaraid_sas >> /usr/lib/ubuntu-core-initramfs/main/usr/lib/modules-load.d/ubuntu-core-initramfs.conf \
ubuntu-core-initramfs create-initrd --output $(initrd) \
--kernelver $(KERNEL_ABI_VERSION)-$$flavour; \
ubuntu-core-initramfs create-efi --unsigned --output $(efi) \
--
2.27.0
More information about the kernel-team
mailing list