summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBian Naimeng <biannm@cn.fujitsu.com>2015-06-18 11:28:40 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2015-06-23 12:43:11 +0200
commit583e3987db4d7e58cd748eeab99d89c70c5cd9a9 (patch)
tree27570df9b2bc1a8e520e7e5350ac39f7914afc3e
parent6b37ab5718a1fbf7c31486adf5a003601ec7f0e7 (diff)
downloadmeta-openembedded-583e3987db4d7e58cd748eeab99d89c70c5cd9a9.tar.gz
multipath-tools: fix build warning
NOTE: Executing RunQueue Tasks WARNING: QA Issue: Symlink /lib/libmpathpersist.so in multipath-tools-dev points to TMPDIR [symlink-to-sysroot] NOTE: Tasks Summary: Attempted 1604 tasks of which 1591 didn't need to be rerun and all succeeded. Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-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/multipath-tools_git.bb1
2 files changed, 31 insertions, 0 deletions
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
new file mode 100644
index 000000000..86d5e0e9c
--- /dev/null
+++ b/meta-oe/recipes-support/multipath-tools/files/do-not-link-libmpathpersist-to-TMPDIR.patch
@@ -0,0 +1,30 @@
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/multipath-tools_git.bb b/meta-oe/recipes-support/multipath-tools/multipath-tools_git.bb
index 055cfe64c..f35cc3b58 100644
--- a/meta-oe/recipes-support/multipath-tools/multipath-tools_git.bb
+++ b/meta-oe/recipes-support/multipath-tools/multipath-tools_git.bb
@@ -9,6 +9,7 @@ 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 \
12 " 13 "
13# 0.5.0 14# 0.5.0
14# 15#