dracut/0521-Ensure-udev-persistent-storage-compat-rules-get-crea.patch
Daniel Molkentin 4aa698ba9e Accepting request 501579 from home:dmolkentin:branches:Base:System
- Ship udev files required by systemd (bsc#1040153)
  * adds 0521-Ensure-udev-persistent-storage-compat-rules-get-crea.patch

OBS-URL: https://build.opensuse.org/request/show/501579
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=308
2017-06-07 07:34:41 +00:00

30 lines
986 B
Diff

From 3f9e2420fbb180672a566cbcab6e9dfdaa914c0e Mon Sep 17 00:00:00 2001
From: Daniel Molkentin <dmolkentin@suse.com>
Date: Thu, 1 Jun 2017 16:59:55 +0200
Subject: [PATCH] Ensure udev persistent storage compat rules get created and
installed
Reference: bsc#1040153
---
modules.d/95udev-rules/module-setup.sh | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/modules.d/95udev-rules/module-setup.sh b/modules.d/95udev-rules/module-setup.sh
index 6a0625aa..5e3f444d 100755
--- a/modules.d/95udev-rules/module-setup.sh
+++ b/modules.d/95udev-rules/module-setup.sh
@@ -56,6 +56,10 @@ install() {
# eudev rules
inst_rules 80-drivers-modprobe.rules
+ # bsc#1040153
+ inst_rules 61-persistent-storage-compat.rules
+ inst_multiple -o ${udevdir}/compat-symlink-generation
+
if dracut_module_included "systemd"; then
inst_multiple -o ${systemdutildir}/network/*.link
[[ $hostonly ]] && inst_multiple -H -o /etc/systemd/network/*.link
--
2.12.3