9abf8c
From 8300849e5d8825c6b60dec682eec4767701e95ac Mon Sep 17 00:00:00 2001
9abf8c
From: Kairui Song <kasong@redhat.com>
9abf8c
Date: Mon, 16 Nov 2020 15:24:14 +0800
9abf8c
Subject: [PATCH] 95fcoe: ensure needed modules are installed
9abf8c
9abf8c
If fcoe module is loaded, the initramfs will always try load libfcoe
9abf8c
and bnx2fc, so also ensure they are installed if needed.
9abf8c
9abf8c
Signed-off-by: Kairui Song <kasong@redhat.com>
9abf8c
(cherry picked from commit 4339d47cf810d8a79f20cf2b86d15af7ec859052)
9abf8c
9abf8c
Resolves: #1898814
9abf8c
---
9abf8c
 modules.d/95fcoe/module-setup.sh | 2 +-
9abf8c
 1 file changed, 1 insertion(+), 1 deletion(-)
9abf8c
9abf8c
diff --git a/modules.d/95fcoe/module-setup.sh b/modules.d/95fcoe/module-setup.sh
9abf8c
index 63f45b52..c2224ec1 100755
9abf8c
--- a/modules.d/95fcoe/module-setup.sh
9abf8c
+++ b/modules.d/95fcoe/module-setup.sh
9abf8c
@@ -23,7 +23,7 @@ depends() {
9abf8c
 
9abf8c
 # called by dracut
9abf8c
 installkernel() {
9abf8c
-    instmods fcoe 8021q edd
9abf8c
+    instmods fcoe libfcoe 8021q edd bnx2fc
9abf8c
 }
9abf8c
 
9abf8c
 get_vlan_parent() {
9abf8c