|
|
e83cdd |
From 3b9b20d237b3ec939b1bf9dd065c875fee54fe63 Mon Sep 17 00:00:00 2001
|
|
|
e83cdd |
From: Kairui Song <kasong@redhat.com>
|
|
|
e83cdd |
Date: Fri, 12 Oct 2018 13:07:13 +0800
|
|
|
e83cdd |
Subject: [PATCH] 40network: Don't include 40network by default
|
|
|
e83cdd |
|
|
|
e83cdd |
commit 7347391 ('network-legacy: split off from network module')
|
|
|
e83cdd |
splitted network function to network-legacy and removed check() function
|
|
|
e83cdd |
of 40network. This caused 40network to be included even if network is
|
|
|
e83cdd |
not needed.
|
|
|
e83cdd |
|
|
|
e83cdd |
Signed-off-by: Kairui Song <kasong@redhat.com>
|
|
|
e83cdd |
|
|
|
e83cdd |
Cherry-picked from: 83cbc06ab91288e2d931b4f36935bfdb79a99b0e
|
|
|
e83cdd |
Resolves: #1639088
|
|
|
e83cdd |
---
|
|
|
e83cdd |
modules.d/40network/module-setup.sh | 5 +++++
|
|
|
e83cdd |
1 file changed, 5 insertions(+)
|
|
|
e83cdd |
|
|
|
e83cdd |
diff --git a/modules.d/40network/module-setup.sh b/modules.d/40network/module-setup.sh
|
|
|
e83cdd |
index 57c0a45e..e8541636 100755
|
|
|
e83cdd |
--- a/modules.d/40network/module-setup.sh
|
|
|
e83cdd |
+++ b/modules.d/40network/module-setup.sh
|
|
|
e83cdd |
@@ -1,5 +1,10 @@
|
|
|
e83cdd |
#!/bin/bash
|
|
|
e83cdd |
|
|
|
e83cdd |
+# called by dracut
|
|
|
e83cdd |
+check() {
|
|
|
e83cdd |
+ return 255
|
|
|
e83cdd |
+}
|
|
|
e83cdd |
+
|
|
|
e83cdd |
# called by dracut
|
|
|
e83cdd |
depends() {
|
|
|
e83cdd |
echo -n "kernel-network-modules "
|
|
|
e83cdd |
|