Blame 0065-40network-add-missing-_arch-variable-declaration.patch
|
Harald Hoyer |
b94732 |
From 681462eca8bd87383c9cb8c0bc34ebad827c4421 Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
b94732 |
From: Hannes Reinecke <hare@suse.de>
|
|
Harald Hoyer |
b94732 |
Date: Thu, 11 Dec 2014 15:46:26 +0100
|
|
Harald Hoyer |
b94732 |
Subject: [PATCH] 40network: add missing _arch variable declaration
|
|
Harald Hoyer |
b94732 |
|
|
Harald Hoyer |
b94732 |
The module_setup.sh script was missing an '_arch' declaration,
|
|
Harald Hoyer |
b94732 |
causing network not to be installed on s390.
|
|
Harald Hoyer |
b94732 |
|
|
Harald Hoyer |
b94732 |
Signed-off-by: Thomas Renninger <trenn@suse.de>
|
|
Harald Hoyer |
b94732 |
---
|
|
Harald Hoyer |
b94732 |
modules.d/40network/module-setup.sh | 1 +
|
|
Harald Hoyer |
b94732 |
1 file changed, 1 insertion(+)
|
|
Harald Hoyer |
b94732 |
|
|
Harald Hoyer |
b94732 |
diff --git a/modules.d/40network/module-setup.sh b/modules.d/40network/module-setup.sh
|
|
Harald Hoyer |
b94732 |
index 55bee4c..f7e0a87 100755
|
|
Harald Hoyer |
b94732 |
--- a/modules.d/40network/module-setup.sh
|
|
Harald Hoyer |
b94732 |
+++ b/modules.d/40network/module-setup.sh
|
|
Harald Hoyer |
b94732 |
@@ -17,6 +17,7 @@ depends() {
|
|
Harald Hoyer |
b94732 |
# called by dracut
|
|
Harald Hoyer |
b94732 |
installkernel() {
|
|
Harald Hoyer |
b94732 |
# Include wired net drivers, excluding wireless
|
|
Harald Hoyer |
b94732 |
+ local _arch=$(uname -m)
|
|
Harald Hoyer |
b94732 |
|
|
Harald Hoyer |
b94732 |
net_module_filter() {
|
|
Harald Hoyer |
b94732 |
local _net_drivers='eth_type_trans|register_virtio_device|usbnet_open'
|