summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-support/multipath-tools/files/0003-RH-don-t-start-without-a-config-file.patch13
-rw-r--r--meta-oe/recipes-support/multipath-tools/files/0005-RH-add-mpathconf.patch9
-rw-r--r--meta-oe/recipes-support/multipath-tools/multipath-tools_0.11.0.bb (renamed from meta-oe/recipes-support/multipath-tools/multipath-tools_0.10.0.bb)4
3 files changed, 10 insertions, 16 deletions
diff --git a/meta-oe/recipes-support/multipath-tools/files/0003-RH-don-t-start-without-a-config-file.patch b/meta-oe/recipes-support/multipath-tools/files/0003-RH-don-t-start-without-a-config-file.patch
index b11fb2c726..649f1fa778 100644
--- a/meta-oe/recipes-support/multipath-tools/files/0003-RH-don-t-start-without-a-config-file.patch
+++ b/meta-oe/recipes-support/multipath-tools/files/0003-RH-don-t-start-without-a-config-file.patch
@@ -1,4 +1,4 @@
1From 06a411b15e131eb4ebc2df95dc10fcff944bead6 Mon Sep 17 00:00:00 2001 1From 2fe1037b8198bd00961d8df48e684296758127d1 Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com> 2From: Changqing Li <changqing.li@windriver.com>
3Date: Fri, 23 Nov 2018 17:25:15 +0800 3Date: Fri, 23 Nov 2018 17:25:15 +0800
4Subject: [PATCH] RH: don't start without a config file 4Subject: [PATCH] RH: don't start without a config file
@@ -28,7 +28,7 @@ Signed-off-by: Changqing Li <changqing.li@windriver.com>
28 5 files changed, 23 insertions(+) 28 5 files changed, 23 insertions(+)
29 29
30diff --git a/libmultipath/config.c b/libmultipath/config.c 30diff --git a/libmultipath/config.c b/libmultipath/config.c
31index 0e3a5cc1..3fbfcc85 100644 31index 8b424d18..d8fafa1f 100644
32--- a/libmultipath/config.c 32--- a/libmultipath/config.c
33+++ b/libmultipath/config.c 33+++ b/libmultipath/config.c
34@@ -26,6 +26,7 @@ 34@@ -26,6 +26,7 @@
@@ -39,7 +39,7 @@ index 0e3a5cc1..3fbfcc85 100644
39 39
40 /* 40 /*
41 * We don't support re-initialization after 41 * We don't support re-initialization after
42@@ -959,6 +960,23 @@ int init_config__ (const char *file, struct config *conf) 42@@ -937,6 +938,23 @@ int init_config__ (const char *file, struct config *conf)
43 } 43 }
44 factorize_hwtable(conf->hwtable, builtin_hwtable_size, file); 44 factorize_hwtable(conf->hwtable, builtin_hwtable_size, file);
45 validate_pctable(conf->overrides, 0, file); 45 validate_pctable(conf->overrides, 0, file);
@@ -64,7 +64,7 @@ index 0e3a5cc1..3fbfcc85 100644
64 64
65 conf->processed_main_config = 1; 65 conf->processed_main_config = 1;
66diff --git a/libmultipath/config.h b/libmultipath/config.h 66diff --git a/libmultipath/config.h b/libmultipath/config.h
67index 94cdf252..534b6142 100644 67index 5b4ebf8c..2302eacc 100644
68--- a/libmultipath/config.h 68--- a/libmultipath/config.h
69+++ b/libmultipath/config.h 69+++ b/libmultipath/config.h
70@@ -10,6 +10,7 @@ 70@@ -10,6 +10,7 @@
@@ -101,7 +101,7 @@ index 7bc8806e..315884eb 100644
101 . 101 .
102 .\" ---------------------------------------------------------------------------- 102 .\" ----------------------------------------------------------------------------
103diff --git a/multipathd/multipathd.service.in b/multipathd/multipathd.service.in 103diff --git a/multipathd/multipathd.service.in b/multipathd/multipathd.service.in
104index 646001e6..979e6f12 100644 104index b6a25b31..f78bb91b 100644
105--- a/multipathd/multipathd.service.in 105--- a/multipathd/multipathd.service.in
106+++ b/multipathd/multipathd.service.in 106+++ b/multipathd/multipathd.service.in
107@@ -5,6 +5,7 @@ Before=local-fs-pre.target blk-availability.service shutdown.target 107@@ -5,6 +5,7 @@ Before=local-fs-pre.target blk-availability.service shutdown.target
@@ -112,6 +112,3 @@ index 646001e6..979e6f12 100644
112 Before=initrd-cleanup.service 112 Before=initrd-cleanup.service
113 DefaultDependencies=no 113 DefaultDependencies=no
114 Conflicts=shutdown.target 114 Conflicts=shutdown.target
115--
1162.25.1
117
diff --git a/meta-oe/recipes-support/multipath-tools/files/0005-RH-add-mpathconf.patch b/meta-oe/recipes-support/multipath-tools/files/0005-RH-add-mpathconf.patch
index 36a7d4774b..e7ea374cd1 100644
--- a/meta-oe/recipes-support/multipath-tools/files/0005-RH-add-mpathconf.patch
+++ b/meta-oe/recipes-support/multipath-tools/files/0005-RH-add-mpathconf.patch
@@ -1,4 +1,4 @@
1From 30b85a61d665137ed1bca0d3e3d011c72758a192 Mon Sep 17 00:00:00 2001 1From 4035b48b512b5010b1c33aeba8c58cf2705bca83 Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com> 2From: Changqing Li <changqing.li@windriver.com>
3Date: Mon, 26 Nov 2018 09:55:12 +0800 3Date: Mon, 26 Nov 2018 09:55:12 +0800
4Subject: [PATCH] RH: add mpathconf 4Subject: [PATCH] RH: add mpathconf
@@ -29,10 +29,10 @@ Signed-off-by: Changqing Li <changqing.li@windriver.com>
29 create mode 100644 multipath/mpathconf.8 29 create mode 100644 multipath/mpathconf.8
30 30
31diff --git a/libmultipath/config.c b/libmultipath/config.c 31diff --git a/libmultipath/config.c b/libmultipath/config.c
32index 3fbfcc85..fbaaca8c 100644 32index d8fafa1f..cba7994b 100644
33--- a/libmultipath/config.c 33--- a/libmultipath/config.c
34+++ b/libmultipath/config.c 34+++ b/libmultipath/config.c
35@@ -962,6 +962,7 @@ int init_config__ (const char *file, struct config *conf) 35@@ -940,6 +940,7 @@ int init_config__ (const char *file, struct config *conf)
36 validate_pctable(conf->overrides, 0, file); 36 validate_pctable(conf->overrides, 0, file);
37 } else { 37 } else {
38 condlog(0, "/etc/multipath.conf does not exist, blacklisting all devices."); 38 condlog(0, "/etc/multipath.conf does not exist, blacklisting all devices.");
@@ -648,6 +648,3 @@ index 00000000..4cd32672
648+.BR service (8), 648+.BR service (8),
649+.SH AUTHOR 649+.SH AUTHOR
650+Benjamin Marzinski <bmarzins@redhat.com> 650+Benjamin Marzinski <bmarzins@redhat.com>
651--
6522.25.1
653
diff --git a/meta-oe/recipes-support/multipath-tools/multipath-tools_0.10.0.bb b/meta-oe/recipes-support/multipath-tools/multipath-tools_0.11.0.bb
index 18874e909e..9f95361063 100644
--- a/meta-oe/recipes-support/multipath-tools/multipath-tools_0.10.0.bb
+++ b/meta-oe/recipes-support/multipath-tools/multipath-tools_0.11.0.bb
@@ -46,9 +46,9 @@ SRC_URI = "git://github.com/opensvc/multipath-tools.git;protocol=https;branch=ma
46 file://0012-add-explicit-dependency-on-libraries.patch \ 46 file://0012-add-explicit-dependency-on-libraries.patch \
47 " 47 "
48 48
49LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2" 49LIC_FILES_CHKSUM = "file://COPYING;md5=9ec28527f3d544b51ceb0e1907d0bf3f"
50 50
51SRCREV = "ee3a70175a8a9045e5c309d5392300922e2a0625" 51SRCREV = "de16cf82c5263fc148118be56ebf44c8f0ee60b8"
52 52
53S = "${WORKDIR}/git" 53S = "${WORKDIR}/git"
54 54