]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
95fcoe: ensure needed modules are installed
authorKairui Song <kasong@redhat.com>
Mon, 16 Nov 2020 07:24:14 +0000 (15:24 +0800)
committerDaniel Molkentin <daniel@molkentin.de>
Wed, 18 Nov 2020 13:18:01 +0000 (14:18 +0100)
If fcoe module is loaded, the initramfs will always try load libfcoe
and bnx2fc, so also ensure they are installed if needed.

Signed-off-by: Kairui Song <kasong@redhat.com>
modules.d/95fcoe/module-setup.sh

index 73927b4b81709944d72a931d13d6e7ae8f930127..9b9e6c5c1b55bcd7f2ad1533784ba966417b735f 100755 (executable)
@@ -23,7 +23,7 @@ depends() {
 
 # called by dracut
 installkernel() {
-    instmods fcoe 8021q edd
+    instmods fcoe libfcoe 8021q edd bnx2fc
 }
 
 get_vlan_parent() {