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