summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/multipath-tools/files/0001-RH-fixup-udev-rules-for-redhat.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-support/multipath-tools/files/0001-RH-fixup-udev-rules-for-redhat.patch')
-rw-r--r--meta-oe/recipes-support/multipath-tools/files/0001-RH-fixup-udev-rules-for-redhat.patch29
1 files changed, 16 insertions, 13 deletions
diff --git a/meta-oe/recipes-support/multipath-tools/files/0001-RH-fixup-udev-rules-for-redhat.patch b/meta-oe/recipes-support/multipath-tools/files/0001-RH-fixup-udev-rules-for-redhat.patch
index 74ae1530cb..909fd77ba2 100644
--- a/meta-oe/recipes-support/multipath-tools/files/0001-RH-fixup-udev-rules-for-redhat.patch
+++ b/meta-oe/recipes-support/multipath-tools/files/0001-RH-fixup-udev-rules-for-redhat.patch
@@ -1,7 +1,7 @@
1From 1e1ba9ecc16895bf472eae345d44631b65629611 Mon Sep 17 00:00:00 2001 1From 68160e86472b197107c60bf6e5a3d126040e85b6 Mon Sep 17 00:00:00 2001
2From: Benjamin Marzinski <bmarzins@redhat.com> 2From: Benjamin Marzinski <bmarzins@redhat.com>
3Date: Thu, 13 Apr 2017 07:22:23 -0500 3Date: Thu, 13 Apr 2017 07:22:23 -0500
4Subject: [PATCH 01/12] RH: fixup udev rules for redhat 4Subject: [PATCH] RH: fixup udev rules for redhat
5 5
6The multipath rules need to run after scsi_id is run. This means moving 6The multipath rules need to run after scsi_id is run. This means moving
7them after 60-persistent-storage.rules for redhat. Redhat also uses a 7them after 60-persistent-storage.rules for redhat. Redhat also uses a
@@ -18,17 +18,20 @@ Rebase to 0.9.8
18Signed-off-by: Changqing Li <changqing.li@windriver.com> 18Signed-off-by: Changqing Li <changqing.li@windriver.com>
19 19
20Upstream-Status: Pending 20Upstream-Status: Pending
21
22Rebase to 0.10.0
23Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
21--- 24---
22 Makefile.inc | 2 +- 25 Makefile.inc | 2 +-
23 kpartx/kpartx.rules | 2 +- 26 kpartx/kpartx.rules.in | 2 +-
24 multipath/Makefile | 4 ++-- 27 multipath/Makefile | 4 ++--
25 3 files changed, 4 insertions(+), 4 deletions(-) 28 3 files changed, 4 insertions(+), 4 deletions(-)
26 29
27diff --git a/Makefile.inc b/Makefile.inc 30diff --git a/Makefile.inc b/Makefile.inc
28index 5668e638..de89b21f 100644 31index 729618bd..69521882 100644
29--- a/Makefile.inc 32--- a/Makefile.inc
30+++ b/Makefile.inc 33+++ b/Makefile.inc
31@@ -59,7 +59,7 @@ tmpfilesdir := $(systemd_prefix)lib/tmpfiles.d 34@@ -62,7 +62,7 @@ tmpfilesdir := $(systemd_prefix)lib/tmpfiles.d
32 modulesloaddir := $(systemd_prefix)lib/modules-load.d 35 modulesloaddir := $(systemd_prefix)lib/modules-load.d
33 libudevdir := $(systemd_prefix)lib/udev 36 libudevdir := $(systemd_prefix)lib/udev
34 udevrulesdir := $(libudevdir)/rules.d 37 udevrulesdir := $(libudevdir)/rules.d
@@ -37,16 +40,16 @@ index 5668e638..de89b21f 100644
37 mandir := $(usr_prefix)share/man 40 mandir := $(usr_prefix)share/man
38 LIB := $(if $(shell test -d /lib64 && echo 1),lib64,lib) 41 LIB := $(if $(shell test -d /lib64 && echo 1),lib64,lib)
39 syslibdir := $(prefix)$(LIB) 42 syslibdir := $(prefix)$(LIB)
40diff --git a/kpartx/kpartx.rules b/kpartx/kpartx.rules 43diff --git a/kpartx/kpartx.rules.in b/kpartx/kpartx.rules.in
41index 1969dee0..d2b28233 100644 44index 9d879609..2049eb8f 100644
42--- a/kpartx/kpartx.rules 45--- a/kpartx/kpartx.rules.in
43+++ b/kpartx/kpartx.rules 46+++ b/kpartx/kpartx.rules.in
44@@ -39,6 +39,6 @@ LABEL="mpath_kpartx_end" 47@@ -39,6 +39,6 @@ LABEL="mpath_kpartx_end"
45 GOTO="kpartx_end" 48 GOTO="kpartx_end"
46 49
47 LABEL="run_kpartx" 50 LABEL="run_kpartx"
48-RUN+="/sbin/kpartx -un -p -part /dev/$name" 51-RUN+="@BINDIR@/kpartx -un -p -part /dev/$name"
49+RUN+="/sbin/kpartx -un /dev/$name" 52+RUN+="@BINDIR@/kpartx -un /dev/$name"
50 53
51 LABEL="kpartx_end" 54 LABEL="kpartx_end"
52diff --git a/multipath/Makefile b/multipath/Makefile 55diff --git a/multipath/Makefile b/multipath/Makefile