]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
40network: add missing _arch variable declaration
authorHannes Reinecke <hare@suse.de>
Thu, 11 Dec 2014 14:46:26 +0000 (15:46 +0100)
committerHarald Hoyer <harald@redhat.com>
Tue, 16 Dec 2014 12:29:37 +0000 (13:29 +0100)
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>
modules.d/40network/module-setup.sh

index 55bee4cb1704ab527932b63bddf324882ad1e54a..f7e0a8774ca3eafa0cbd369d9a13d8f5c2e3304d 100755 (executable)
@@ -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'