40network: add missing _arch variable declaration

The module_setup.sh script was missing an '_arch' declaration,
causing network not to be installed on s390.

Signed-off-by: Thomas Renninger <trenn@suse.de>
This commit is contained in:
Hannes Reinecke 2014-12-11 15:46:26 +01:00 committed by Harald Hoyer
parent 9492008435
commit 681462eca8

View File

@ -17,6 +17,7 @@ depends() {
# called by dracut
installkernel() {
# Include wired net drivers, excluding wireless
local _arch=$(uname -m)
net_module_filter() {
local _net_drivers='eth_type_trans|register_virtio_device|usbnet_open'