summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/multipath-tools
diff options
context:
space:
mode:
authorPatrick Ohly <patrick.ohly@intel.com>2017-01-27 11:11:22 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2017-02-13 18:43:24 +0100
commitbc34c97efca0c195ce0132eff426d2b2b32d1534 (patch)
tree3e6dbc24f015e17194feb9ca8f1ea1d5bc5b437d /meta-oe/recipes-support/multipath-tools
parent960acf856f49e65ed31e096aa5fb4aeed237172e (diff)
downloadmeta-openembedded-bc34c97efca0c195ce0132eff426d2b2b32d1534.tar.gz
multipath-tools: update to 0.6.4
No particular reason for updating besides following upstream. Only kpartx has been tested after updating! Seems to work as before; unfortunately that means that as in 0.5.0, "kpartx -d" doesn't do anything. Upstream refreshed the COPYING file, hence the checksum change: $ git log --oneline 0.5.0..HEAD COPYING bf05f63 multipath-tools: replace COPYING with a fresh copy from gnu.org 1d6c88a Update FSF address The QA error that do-not-link-libmpathpersist-to-TMPDIR.patch fixes no longer occurs because upstream changed that particular part of the Makefile. A new patch is needed to avoid building libcheckerrdb, which depends on the (currently) unavailable librados. The other patches had to be refreshed. Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/multipath-tools')
-rw-r--r--meta-oe/recipes-support/multipath-tools/files/0001-multipathd.service-Error-fix.patch10
-rw-r--r--meta-oe/recipes-support/multipath-tools/files/always-use-libdevmapper-kpartx.patch25
-rw-r--r--meta-oe/recipes-support/multipath-tools/files/always-use-libdevmapper.patch53
-rw-r--r--meta-oe/recipes-support/multipath-tools/files/checkers-disable-libcheckrbd.so.patch31
-rw-r--r--meta-oe/recipes-support/multipath-tools/files/do-not-link-libmpathpersist-to-TMPDIR.patch30
-rw-r--r--meta-oe/recipes-support/multipath-tools/files/makefile_inc.patch38
-rw-r--r--meta-oe/recipes-support/multipath-tools/files/shared-libs-avoid-linking-.so-as-executable.patch44
-rw-r--r--meta-oe/recipes-support/multipath-tools/multipath-tools_git.bb32
8 files changed, 146 insertions, 117 deletions
diff --git a/meta-oe/recipes-support/multipath-tools/files/0001-multipathd.service-Error-fix.patch b/meta-oe/recipes-support/multipath-tools/files/0001-multipathd.service-Error-fix.patch
index 1e48e1c5f..60c3c0aec 100644
--- a/meta-oe/recipes-support/multipath-tools/files/0001-multipathd.service-Error-fix.patch
+++ b/meta-oe/recipes-support/multipath-tools/files/0001-multipathd.service-Error-fix.patch
@@ -1,4 +1,4 @@
1From 74ff5e1cf8ef83dabcf6e6b92f87d6761f7f4d51 Mon Sep 17 00:00:00 2001 1From 630483b9738349c8b3e637a00879b96834a33cdb Mon Sep 17 00:00:00 2001
2From: Li xin <lixin.fnst@cn.fujitsu.com> 2From: Li xin <lixin.fnst@cn.fujitsu.com>
3Date: Tue, 7 Jul 2015 11:34:36 +0900 3Date: Tue, 7 Jul 2015 11:34:36 +0900
4Subject: [PATCH] multipathd.service: Error fix 4Subject: [PATCH] multipathd.service: Error fix
@@ -13,10 +13,10 @@ Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
13 1 file changed, 3 insertions(+), 2 deletions(-) 13 1 file changed, 3 insertions(+), 2 deletions(-)
14 14
15diff --git a/multipathd/multipathd.service b/multipathd/multipathd.service 15diff --git a/multipathd/multipathd.service b/multipathd/multipathd.service
16index be3ba3f..b8d3ecd 100644 16index e3d6f91..a7e00b2 100644
17--- a/multipathd/multipathd.service 17--- a/multipathd/multipathd.service
18+++ b/multipathd/multipathd.service 18+++ b/multipathd/multipathd.service
19@@ -6,11 +6,12 @@ DefaultDependencies=no 19@@ -8,11 +8,12 @@ Wants=local-fs-pre.target multipathd.socket blk-availability.service
20 Conflicts=shutdown.target 20 Conflicts=shutdown.target
21 21
22 [Service] 22 [Service]
@@ -25,12 +25,12 @@ index be3ba3f..b8d3ecd 100644
25 NotifyAccess=main 25 NotifyAccess=main
26 LimitCORE=infinity 26 LimitCORE=infinity
27+PIDFile=/var/run/multipathd.pid 27+PIDFile=/var/run/multipathd.pid
28 ExecStartPre=/sbin/modprobe dm-multipath 28 ExecStartPre=/sbin/modprobe -a scsi_dh_alua scsi_dh_emc scsi_dh_rdac dm-multipath
29-ExecStart=/sbin/multipathd -d -s 29-ExecStart=/sbin/multipathd -d -s
30+ExecStart=/sbin/multipathd 30+ExecStart=/sbin/multipathd
31 ExecReload=/sbin/multipathd reconfigure 31 ExecReload=/sbin/multipathd reconfigure
32 32
33 [Install] 33 [Install]
34-- 34--
351.8.4.2 352.11.0
36 36
diff --git a/meta-oe/recipes-support/multipath-tools/files/always-use-libdevmapper-kpartx.patch b/meta-oe/recipes-support/multipath-tools/files/always-use-libdevmapper-kpartx.patch
index a16a85405..803e52c10 100644
--- a/meta-oe/recipes-support/multipath-tools/files/always-use-libdevmapper-kpartx.patch
+++ b/meta-oe/recipes-support/multipath-tools/files/always-use-libdevmapper-kpartx.patch
@@ -1,4 +1,7 @@
1Always use devmapper for kpartx 1From 7267cf235fc052eaa1ca36e437096576edacb131 Mon Sep 17 00:00:00 2001
2From: Aws Ismail <aws.ismail@windriver.com>
3Date: Mon, 22 Sep 2014 17:22:32 -0700
4Subject: [PATCH] Always use devmapper for kpartx
2 5
3Do not try to compute the LIBDM_API_COOKIE make variable 6Do not try to compute the LIBDM_API_COOKIE make variable
4from host information when cross-compiling. 7from host information when cross-compiling.
@@ -7,23 +10,27 @@ Upstream-Status: Inappropriate [embedded specific]
7 10
8Signed-off-by: Aws Ismail <aws.ismail@windriver.com> 11Signed-off-by: Aws Ismail <aws.ismail@windriver.com>
9Signed-off-by: Joe Slater <joe.slater@windriver.com> 12Signed-off-by: Joe Slater <joe.slater@windriver.com>
13---
14 kpartx/Makefile | 6 +-----
15 1 file changed, 1 insertion(+), 5 deletions(-)
10 16
11diff --git a/kpartx/Makefile b/kpartx/Makefile 17diff --git a/kpartx/Makefile b/kpartx/Makefile
12index 2a07334..24bdabc 100644 18index e8a59f2..e694a65 100644
13--- a/kpartx/Makefile 19--- a/kpartx/Makefile
14+++ b/kpartx/Makefile 20+++ b/kpartx/Makefile
15@@ -4,13 +4,7 @@ 21@@ -7,11 +7,7 @@ CFLAGS += -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
16 # 22
17 include ../Makefile.inc 23 LIBDEPS += -ldevmapper
18 24
19-CFLAGS += -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
20-
21-LIBDM_API_COOKIE = $(shell grep -Ecs '^[a-z]*[[:space:]]+dm_task_set_cookie' /usr/include/libdevmapper.h) 25-LIBDM_API_COOKIE = $(shell grep -Ecs '^[a-z]*[[:space:]]+dm_task_set_cookie' /usr/include/libdevmapper.h)
22- 26-
23-ifneq ($(strip $(LIBDM_API_COOKIE)),0) 27-ifneq ($(strip $(LIBDM_API_COOKIE)),0)
24- CFLAGS += -DLIBDM_API_COOKIE 28- CFLAGS += -DLIBDM_API_COOKIE
25-endif 29-endif
26+CFLAGS += -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DLIBDM_API_COOKIE 30+CFLAGS += -DLIBDM_API_COOKIE
27 31
28 LDFLAGS = -ldevmapper
29 OBJS = bsd.o dos.o kpartx.o solaris.o unixware.o dasd.o sun.o \ 32 OBJS = bsd.o dos.o kpartx.o solaris.o unixware.o dasd.o sun.o \
33 gpt.o mac.o ps3.o crc32.o lopart.o xstrncpy.o devmapper.o
34--
352.11.0
36
diff --git a/meta-oe/recipes-support/multipath-tools/files/always-use-libdevmapper.patch b/meta-oe/recipes-support/multipath-tools/files/always-use-libdevmapper.patch
index 89d2352da..33834f6b8 100644
--- a/meta-oe/recipes-support/multipath-tools/files/always-use-libdevmapper.patch
+++ b/meta-oe/recipes-support/multipath-tools/files/always-use-libdevmapper.patch
@@ -1,4 +1,7 @@
1Always use devmapper 1From c4f0dba4e86bfa20252fcc8218398e7468ca9149 Mon Sep 17 00:00:00 2001
2From: Aws Ismail <aws.ismail@windriver.com>
3Date: Mon, 22 Sep 2014 17:22:32 -0700
4Subject: [PATCH] Always use devmapper
2 5
3Do not try to compute several _API_ make variables 6Do not try to compute several _API_ make variables
4from host information when cross-compiling. 7from host information when cross-compiling.
@@ -7,38 +10,48 @@ Upstream-Status: Inappropriate [embedded specific]
7 10
8Signed-off-by: Aws Ismail <aws.ismail@windriver.com> 11Signed-off-by: Aws Ismail <aws.ismail@windriver.com>
9Signed-off-by: Joe Slater <joe.slater@windriver.com> 12Signed-off-by: Joe Slater <joe.slater@windriver.com>
13---
14 libmultipath/Makefile | 27 ++++-----------------------
15 1 file changed, 4 insertions(+), 23 deletions(-)
10 16
11diff --git a/libmultipath/Makefile b/libmultipath/Makefile 17diff --git a/libmultipath/Makefile b/libmultipath/Makefile
12index e5b06b3..efd6cf6 100644 18index 495cebe..9626e69 100644
13--- a/libmultipath/Makefile 19--- a/libmultipath/Makefile
14+++ b/libmultipath/Makefile 20+++ b/libmultipath/Makefile
15@@ -17,23 +17,18 @@ OBJS = memory.o parser.o vector.o devmapper.o \ 21@@ -20,29 +20,10 @@ ifdef SYSTEMD
16 log.o configure.o structs_vec.o sysfs.o prio.o checkers.o \ 22 endif
17 lock.o waiter.o file.o wwids.o 23 endif
18 24
19-LIBDM_API_FLUSH = $(shell grep -Ecs '^[a-z]*[[:space:]]+dm_task_no_flush' /usr/include/libdevmapper.h) 25-LIBDM_API_FLUSH = $(shell grep -Ecs '^[a-z]*[[:space:]]+dm_task_no_flush' /usr/include/libdevmapper.h)
20 26-
21-ifneq ($(strip $(LIBDM_API_FLUSH)),0) 27-ifneq ($(strip $(LIBDM_API_FLUSH)),0)
22+#ifneq ($(strip $(LIBDM_API_FLUSH)),0) 28- CFLAGS += -DLIBDM_API_FLUSH -D_GNU_SOURCE
23 CFLAGS += -DLIBDM_API_FLUSH -D_GNU_SOURCE
24-endif 29-endif
25+#endif 30-
26
27-LIBDM_API_COOKIE = $(shell grep -Ecs '^[a-z]*[[:space:]]+dm_task_set_cookie' /usr/include/libdevmapper.h) 31-LIBDM_API_COOKIE = $(shell grep -Ecs '^[a-z]*[[:space:]]+dm_task_set_cookie' /usr/include/libdevmapper.h)
28- 32-
29-ifneq ($(strip $(LIBDM_API_COOKIE)),0) 33-ifneq ($(strip $(LIBDM_API_COOKIE)),0)
30+#ifneq ($(strip $(LIBDM_API_COOKIE)),0) 34- CFLAGS += -DLIBDM_API_COOKIE
31 CFLAGS += -DLIBDM_API_COOKIE
32-endif 35-endif
33- 36-
34-LIBUDEV_API_RECVBUF = $(shell grep -Ecs '^[a-z]*[[:space:]]+udev_monitor_set_resolve_buffer_size' /usr/include/libudev.h) 37-LIBUDEV_API_RECVBUF = $(shell grep -Ecs '^[a-z]*[[:space:]]+udev_monitor_set_receive_buffer_size' /usr/include/libudev.h)
35+#endif 38-
36
37-ifneq ($(strip $(LIBUDEV_API_RECVBUF)),0) 39-ifneq ($(strip $(LIBUDEV_API_RECVBUF)),0)
38+#ifneq ($(strip $(LIBUDEV_API_RECVBUF)),0) 40- CFLAGS += -DLIBUDEV_API_RECVBUF
39 CFLAGS += -DLIBUDEV_API_RECVBUF
40-endif 41-endif
41+#endif 42-
42 43-LIBDM_API_DEFERRED = $(shell grep -Ecs '^[a-z]*[[:space:]]+dm_task_deferred_remove' /usr/include/libdevmapper.h)
44-
45-ifneq ($(strip $(LIBDM_API_DEFERRED)),0)
46- CFLAGS += -DLIBDM_API_DEFERRED
47-endif
48+CFLAGS += -DLIBDM_API_FLUSH -D_GNU_SOURCE
49+CFLAGS += -DLIBDM_API_COOKIE
50+CFLAGS += -DLIBUDEV_API_RECVBUF
51+CFLAGS += -DLIBDM_API_DEFERRED
43 52
44 all: $(LIBS) 53 OBJS = memory.o parser.o vector.o devmapper.o callout.o \
54 hwtable.o blacklist.o util.o dmparser.o config.o \
55--
562.11.0
57
diff --git a/meta-oe/recipes-support/multipath-tools/files/checkers-disable-libcheckrbd.so.patch b/meta-oe/recipes-support/multipath-tools/files/checkers-disable-libcheckrbd.so.patch
new file mode 100644
index 000000000..908a5162e
--- /dev/null
+++ b/meta-oe/recipes-support/multipath-tools/files/checkers-disable-libcheckrbd.so.patch
@@ -0,0 +1,31 @@
1From 148b848f45957e5e1c0466e8c79c84ba4a0bf241 Mon Sep 17 00:00:00 2001
2From: Patrick Ohly <patrick.ohly@intel.com>
3Date: Fri, 27 Jan 2017 10:35:54 +0100
4Subject: [PATCH] checkers: disable libcheckrbd.so
5
6libcheckrbd.so depends on librados, which is not currently available
7as a recipe. These checkers seem to be optional, so for now we merely
8disable compilation of libcheckrbd.so.
9
10Upstream-Status: Inappropriate [configuration]
11
12Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
13---
14 libmultipath/checkers/Makefile | 1 -
15 1 file changed, 1 deletion(-)
16
17diff --git a/libmultipath/checkers/Makefile b/libmultipath/checkers/Makefile
18index 11ab76f..c848d50 100644
19--- a/libmultipath/checkers/Makefile
20+++ b/libmultipath/checkers/Makefile
21@@ -14,7 +14,6 @@ LIBS= \
22 libcheckemc_clariion.so \
23 libcheckhp_sw.so \
24 libcheckrdac.so \
25- libcheckrbd.so
26
27 all: $(LIBS)
28
29--
302.11.0
31
diff --git a/meta-oe/recipes-support/multipath-tools/files/do-not-link-libmpathpersist-to-TMPDIR.patch b/meta-oe/recipes-support/multipath-tools/files/do-not-link-libmpathpersist-to-TMPDIR.patch
deleted file mode 100644
index 86d5e0e9c..000000000
--- a/meta-oe/recipes-support/multipath-tools/files/do-not-link-libmpathpersist-to-TMPDIR.patch
+++ /dev/null
@@ -1,30 +0,0 @@
1From fe65ac8face3c88d9d4e12811f44e63ad72c59ae Mon Sep 17 00:00:00 2001
2From: Bian Naimeng <biannm@cn.fujitsu.com>
3Date: Thu, 18 Jun 2015 12:25:25 +0900
4Subject: [PATCH] fix build warning
5
6 NOTE: Executing RunQueue Tasks
7 WARNING: QA Issue: Symlink /lib/libmpathpersist.so in multipath-tools-dev points to TMPDIR [symlink-to-sysroot]
8 NOTE: Tasks Summary: Attempted 1604 tasks of which 1591 didn't need to be rerun and all succeeded.
9
10Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com>
11---
12 libmpathpersist/Makefile | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/libmpathpersist/Makefile b/libmpathpersist/Makefile
16index c4ec1c5..62022eb 100644
17--- a/libmpathpersist/Makefile
18+++ b/libmpathpersist/Makefile
19@@ -32,7 +32,7 @@ install: $(LIBS)
20 $(INSTALL_PROGRAM) -m 755 -d $(DESTDIR)$(man3dir)
21 $(INSTALL_PROGRAM) -m 755 -d $(DESTDIR)/usr/include/
22 $(INSTALL_PROGRAM) -m 755 -d $(DESTDIR)/usr/share/doc/mpathpersist/
23- ln -sf $(DESTDIR)$(syslibdir)/$(LIBS) $(DESTDIR)$(syslibdir)/$(DEVLIB)
24+ ln -sf $(syslibdir)/$(LIBS) $(DESTDIR)$(syslibdir)/$(DEVLIB)
25 install -m 644 mpath_persistent_reserve_in.3.gz $(DESTDIR)$(man3dir)
26 install -m 644 mpath_persistent_reserve_out.3.gz $(DESTDIR)$(man3dir)
27 install -m 644 mpath_persist.h $(DESTDIR)/usr/include/
28--
291.8.4.2
30
diff --git a/meta-oe/recipes-support/multipath-tools/files/makefile_inc.patch b/meta-oe/recipes-support/multipath-tools/files/makefile_inc.patch
index 71963e0c4..5b7b6966a 100644
--- a/meta-oe/recipes-support/multipath-tools/files/makefile_inc.patch
+++ b/meta-oe/recipes-support/multipath-tools/files/makefile_inc.patch
@@ -1,4 +1,8 @@
1multipath-tools: modify Makefile.inc for cross-compilation 1From 9f5768eca165502b0f17d271aa6f7cf530ec60b2 Mon Sep 17 00:00:00 2001
2From: Joe Slater <joe.slater@windriver.com>
3Date: Mon, 22 Sep 2014 17:22:32 -0700
4Subject: [PATCH] multipath-tools: modify Makefile.inc for
5 cross-compilation
2 6
3Do not look for systemd info on the host, and allow us to pass in CFLAGS 7Do not look for systemd info on the host, and allow us to pass in CFLAGS
4using the OPTFLAGS variable. 8using the OPTFLAGS variable.
@@ -10,10 +14,15 @@ Signed-off-by: Joe Slater <joe.slater@windriver.com>
10Update for version 0.5.0-144-g770e6d0 14Update for version 0.5.0-144-g770e6d0
11 15
12Signed-off-by: Kai Kang <kai.kang@windriver.com> 16Signed-off-by: Kai Kang <kai.kang@windriver.com>
17---
18 Makefile.inc | 17 +++++------------
19 1 file changed, 5 insertions(+), 12 deletions(-)
13 20
21diff --git a/Makefile.inc b/Makefile.inc
22index 1cc8f44..15f8b91 100644
14--- a/Makefile.inc 23--- a/Makefile.inc
15+++ b/Makefile.inc 24+++ b/Makefile.inc
16@@ -21,12 +21,6 @@ ifndef LIB 25@@ -29,12 +29,6 @@ ifndef RUN
17 endif 26 endif
18 endif 27 endif
19 28
@@ -26,14 +35,25 @@ Signed-off-by: Kai Kang <kai.kang@windriver.com>
26 ifndef SYSTEMDPATH 35 ifndef SYSTEMDPATH
27 SYSTEMDPATH=usr/lib 36 SYSTEMDPATH=usr/lib
28 endif 37 endif
29@@ -53,7 +47,10 @@ ifndef RPM_OPT_FLAGS 38@@ -61,13 +55,12 @@ RM = rm -f
30 RPM_OPT_FLAGS = -O2 -g -pipe -Wformat-security -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 39 LN = ln -sf
31 endif 40 INSTALL_PROGRAM = install
32 41
42-OPTFLAGS = -O2 -g -pipe -Wall -Wextra -Wformat=2 \
43- -Wno-sign-compare -Wno-unused-parameter -Wno-clobbered \
44- -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector \
45- --param=ssp-buffer-size=4
33+ifndef OPTFLAGS 46+ifndef OPTFLAGS
34 OPTFLAGS = $(RPM_OPT_FLAGS) -Wunused -Wstrict-prototypes 47+OPTFLAGS = $(RPM_OPT_FLAGS) -Wunused -Wstrict-prototypes
35+endif 48+endif
36+
37 CFLAGS = $(OPTFLAGS) -fPIC -DLIB_STRING=\"${LIB}\"
38 SHARED_FLAGS = -shared
39 49
50-CFLAGS = $(OPTFLAGS) -fPIC -DLIB_STRING=\"${LIB}\" -DRUN_DIR=\"${RUN}\"
51-SHARED_FLAGS = -shared
52+CFLAGS = $(OPTFLAGS) -fPIC -DLIB_STRING=\"${LIB}\" -DRUN_DIR=\"${RUN}\"
53+SHARED_FLAGS = -shared
54
55 %.o: %.c
56 $(CC) $(CFLAGS) -c -o $@ $<
57--
582.11.0
59
diff --git a/meta-oe/recipes-support/multipath-tools/files/shared-libs-avoid-linking-.so-as-executable.patch b/meta-oe/recipes-support/multipath-tools/files/shared-libs-avoid-linking-.so-as-executable.patch
index ae6bb89a7..88579e6aa 100644
--- a/meta-oe/recipes-support/multipath-tools/files/shared-libs-avoid-linking-.so-as-executable.patch
+++ b/meta-oe/recipes-support/multipath-tools/files/shared-libs-avoid-linking-.so-as-executable.patch
@@ -14,36 +14,42 @@ Upstream-Status: Inappropriate [OE specific, -pie shouldn't be in CFLAGS?!]
14 14
15Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> 15Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
16--- 16---
17 libmpathpersist/Makefile | 2 +- 17diff --git a/libmpathcmd/Makefile b/libmpathcmd/Makefile
18 libmultipath/Makefile | 2 +- 18index 457c4ca..f68c82c 100644
19 2 files changed, 2 insertions(+), 2 deletions(-) 19--- a/libmpathcmd/Makefile
20 20+++ b/libmpathcmd/Makefile
21@@ -9,7 +9,7 @@ OBJS = mpath_cmd.o
22 all: $(LIBS)
23
24 $(LIBS): $(OBJS)
25- $(CC) $(LDFLAGS) $(SHARED_FLAGS) -Wl,-soname=$@ $(CFLAGS) -o $@ $(OBJS) $(LIBDEPS)
26+ $(CC) $(LDFLAGS) $(CFLAGS) $(SHARED_FLAGS) -Wl,-soname=$@ -o $@ $(OBJS) $(LIBDEPS)
27 $(LN) $@ $(DEVLIB)
28
29 install: $(LIBS)
21diff --git a/libmpathpersist/Makefile b/libmpathpersist/Makefile 30diff --git a/libmpathpersist/Makefile b/libmpathpersist/Makefile
22index c4ec1c5..790692a 100644 31index 6e43427..2486302 100644
23--- a/libmpathpersist/Makefile 32--- a/libmpathpersist/Makefile
24+++ b/libmpathpersist/Makefile 33+++ b/libmpathpersist/Makefile
25@@ -20,7 +20,7 @@ all: $(LIBS) 34@@ -15,7 +15,7 @@ all: $(LIBS)
26 35
27 $(LIBS): 36 $(LIBS):
28 $(CC) -Wall -fPIC -c $(CFLAGS) *.c 37 $(CC) -c $(CFLAGS) *.c
29- $(CC) -shared $(LIBDEPS) -Wl,-soname=$@ $(CFLAGS) -o $@ $(OBJS) 38- $(CC) $(LDFLAGS) $(SHARED_FLAGS) $(LIBDEPS) -Wl,-soname=$@ $(CFLAGS) -o $@ $(OBJS)
30+ $(CC) $(LIBDEPS) $(CFLAGS) $(SHARED_FLAGS) -Wl,-soname=$@ -o $@ $(OBJS) 39+ $(CC) $(LDFLAGS) $(CFLAGS) $(SHARED_FLAGS) $(LIBDEPS) -Wl,-soname=$@ -o $@ $(OBJS)
31 ln -s $(LIBS) $(DEVLIB) 40 $(LN) $(LIBS) $(DEVLIB)
32 $(GZIP) mpath_persistent_reserve_in.3 > mpath_persistent_reserve_in.3.gz 41 $(GZIP) mpath_persistent_reserve_in.3 > mpath_persistent_reserve_in.3.gz
33 $(GZIP) mpath_persistent_reserve_out.3 > mpath_persistent_reserve_out.3.gz 42 $(GZIP) mpath_persistent_reserve_out.3 > mpath_persistent_reserve_out.3.gz
34diff --git a/libmultipath/Makefile b/libmultipath/Makefile 43diff --git a/libmultipath/Makefile b/libmultipath/Makefile
35index fc0f3d6..2287d91 100644 44index 495cebe..752bcc0 100644
36--- a/libmultipath/Makefile 45--- a/libmultipath/Makefile
37+++ b/libmultipath/Makefile 46+++ b/libmultipath/Makefile
38@@ -55,7 +55,7 @@ endif 47@@ -55,7 +55,7 @@ OBJS = memory.o parser.o vector.o devmapper.o callout.o \
39 all: $(LIBS) 48 all: $(LIBS)
40 49
41 $(LIBS): $(OBJS) 50 $(LIBS): $(OBJS)
42- $(CC) $(LDFLAGS) $(SHARED_FLAGS) -Wl,-soname=$@ $(CFLAGS) -o $@ $(OBJS) $(LIBDEPS) 51- $(CC) $(LDFLAGS) $(SHARED_FLAGS) -Wl,-soname=$@ $(CFLAGS) -o $@ $(OBJS) $(LIBDEPS)
43+ $(CC) $(LDFLAGS) $(CFLAGS) $(SHARED_FLAGS) -Wl,-soname=$@ -o $@ $(OBJS) $(LIBDEPS) 52+ $(CC) $(LDFLAGS) $(CFLAGS) $(SHARED_FLAGS) -Wl,-soname=$@ -o $@ $(OBJS) $(LIBDEPS)
44 ln -sf $@ $(DEVLIB) 53 $(LN) $@ $(DEVLIB)
45 54
46 install: 55 install:
47--
482.11.0
49
diff --git a/meta-oe/recipes-support/multipath-tools/multipath-tools_git.bb b/meta-oe/recipes-support/multipath-tools/multipath-tools_git.bb
index 2ab4dad23..e107c8f73 100644
--- a/meta-oe/recipes-support/multipath-tools/multipath-tools_git.bb
+++ b/meta-oe/recipes-support/multipath-tools/multipath-tools_git.bb
@@ -1,6 +1,6 @@
1SUMMARY = "The upstream project used to drive the Device Mapper multipathing driver" 1SUMMARY = "The upstream project used to drive the Device Mapper multipathing driver"
2 2
3DEPENDS = "lvm2 libaio readline udev" 3DEPENDS = "lvm2 libaio liburcu readline udev"
4 4
5LICENSE = "LGPLv2" 5LICENSE = "LGPLv2"
6 6
@@ -9,36 +9,21 @@ SRC_URI = "git://git.opensvc.com/multipath-tools/.git;protocol=http \
9 file://makefile_inc.patch \ 9 file://makefile_inc.patch \
10 file://always-use-libdevmapper.patch \ 10 file://always-use-libdevmapper.patch \
11 file://always-use-libdevmapper-kpartx.patch \ 11 file://always-use-libdevmapper-kpartx.patch \
12 file://do-not-link-libmpathpersist-to-TMPDIR.patch \
13 file://0001-multipathd.service-Error-fix.patch \ 12 file://0001-multipathd.service-Error-fix.patch \
14 file://shared-libs-avoid-linking-.so-as-executable.patch \ 13 file://shared-libs-avoid-linking-.so-as-executable.patch \
14 file://checkers-disable-libcheckrbd.so.patch \
15 " 15 "
16# 0.5.0 16LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2"
17#
18#SRCREV = "82f391e787dc02e9d9294aa391137ab424bb83c4"
19#LIC_FILES_CHKSUM = "file://COPYING;md5=7be2873b6270e45abacc503abbe2aa3d"
20
21# 0.5.0 + commits thru 7/18/2014
22#
23#SRCREV = "0d72f46c12207a6b7b89f5ef4f5ab5f87ed8bc90"
24#LIC_FILES_CHKSUM = "file://COPYING;md5=b06690e7a95c166eefe0199b39118eb1"
25
26# 0.5.0 + commits thru 9/12/2014
27#
28# includes important systemd related structure size fix
29#
30#SRCREV = "aec68ab217fd2956443b27ceeb97dd6475267789"
31LIC_FILES_CHKSUM = "file://COPYING;md5=b06690e7a95c166eefe0199b39118eb1"
32 17
33# 0.5.0 + commits thru 2/16/2015 18# 0.6.4
34SRCREV = "770e6d0da035deaced82885939161c2b69225e10" 19SRCREV = "922421cf795d53d339862bb2d99f1a85c96ad9a3"
35 20
36inherit systemd 21inherit systemd
37 22
38 23
39S = "${WORKDIR}/git" 24S = "${WORKDIR}/git"
40 25
41PV = "0.5.0+git${@'${SRCPV}'.split('+')[-1]}" 26PV = "0.6.4+git${@'${SRCPV}'.split('+')[-1]}"
42 27
43TARGET_CC_ARCH += "${LDFLAGS}" 28TARGET_CC_ARCH += "${LDFLAGS}"
44 29
@@ -54,12 +39,9 @@ EXTRA_OEMAKE = 'MULTIPATH_VERSION=${PV} DESTDIR=${D} syslibdir=${base_libdir} \
54do_install() { 39do_install() {
55 oe_runmake install 40 oe_runmake install
56 41
57 # Copy a sample conf file, but do not rename it multipath.conf.
58 #
59 cp multipath.conf.defaults ${D}${sysconfdir}
60
61 # We copy an initscript, but do not start multipathd at init time. 42 # We copy an initscript, but do not start multipathd at init time.
62 # 43 #
44 install -d ${D}${sysconfdir}/init.d
63 cp ${WORKDIR}/multipathd.oe ${D}${sysconfdir}/init.d/multipathd 45 cp ${WORKDIR}/multipathd.oe ${D}${sysconfdir}/init.d/multipathd
64 46
65} 47}