File 0607-95dasd-rules-95zfcp_rules-Look-for-correct-rule-name.patch of Package dracut.16003

From fcd5019ad6a2cbca78d93b80e37dc6d67a49f0a8 Mon Sep 17 00:00:00 2001
From: Daniel Molkentin <dmolkentin@suse.com>
Date: Thu, 27 Jun 2019 10:06:24 +0200
Subject: [PATCH] 95dasd-rules & 95zfcp_rules: Look for correct rule name

Reference: bsc#1137784
---
 modules.d/95dasd_rules/module-setup.sh | 4 ++--
 modules.d/95zfcp_rules/module-setup.sh | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules.d/95dasd_rules/module-setup.sh b/modules.d/95dasd_rules/module-setup.sh
index 124dbad9..ad7bfd50 100755
--- a/modules.d/95dasd_rules/module-setup.sh
+++ b/modules.d/95dasd_rules/module-setup.sh
@@ -53,9 +53,9 @@ install() {
     fi
     if [[ $hostonly ]] ; then
         inst_rules_wildcard 51-dasd-*.rules
-        inst_rules_wildcard 41-s390x-dasd-*.rules
+        inst_rules_wildcard 41-dasd-*.rules
         mark_hostonly /etc/udev/rules.d/51-dasd-*.rules
-        mark_hostonly /etc/udev/rules.d/41-s390x-dasd-*.rules
+        mark_hostonly /etc/udev/rules.d/41-dasd-*.rules
     fi
     inst_rules 59-dasd.rules
 }
diff --git a/modules.d/95zfcp_rules/module-setup.sh b/modules.d/95zfcp_rules/module-setup.sh
index fc55e69a..1f904c2a 100755
--- a/modules.d/95zfcp_rules/module-setup.sh
+++ b/modules.d/95zfcp_rules/module-setup.sh
@@ -72,6 +72,6 @@ install() {
     fi
     if [[ $hostonly ]] ; then
         inst_rules_wildcard 51-zfcp-*.rules
-        inst_rules_wildcard 41-s390x-zfcp-*.rules
+        inst_rules_wildcard 41-zfcp-*.rules
     fi
 }
-- 
2.16.4

openSUSE Build Service is sponsored by