SHA256
1
0
forked from pool/supermin
supermin/0013-helper-Add-megaraid-drivers-to-the-initrd.patch
Olaf Hering a9c7ea2c60 - zypp: Only compile zypper support if OCaml inifiles module is found.
- zypp: Trailing whitespace.
- Handle --packager-config in zypp_rpm
- helper: Add a note that cpio might not be able to read -f cpio files.
- helper: Add megaraid drivers to the initrd.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/supermin?expand=0&rev=15
2013-06-04 15:02:32 +00:00

27 lines
713 B
Diff

From 9da479658818738b2a2a68456e867cdb609472c8 Mon Sep 17 00:00:00 2001
From: "Richard W.M. Jones" <rjones@redhat.com>
Date: Tue, 14 May 2013 19:21:04 +0100
Subject: helper: Add megaraid drivers to the initrd.
This allows you to use the megaraid SAS emulation
in qemu if you want.
Primarily I added this so I could test:
https://bugzilla.redhat.com/show_bug.cgi?id=962079#c4
---
helper/ext2initrd.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/helper/ext2initrd.c b/helper/ext2initrd.c
index aa3259f..8dab5e9 100644
--- a/helper/ext2initrd.c
+++ b/helper/ext2initrd.c
@@ -68,6 +68,7 @@ static const char *kmods[] = {
"crc*.ko*",
"libcrc*.ko*",
"ibmvscsic.ko*",
+ "megaraid*.ko*",
NULL
};