]> code.ossystems Code Review - openembedded-core.git/commitdiff
man-db: fix multilib install file conflict
authorKai Kang <kai.kang@windriver.com>
Tue, 2 Oct 2018 16:27:12 +0000 (00:27 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 3 Oct 2018 16:01:05 +0000 (17:01 +0100)
The first line of config file man_db.conf is the package name. It causes
multilib install file conflict. So add a patch to remove the line.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/man-db/files/man_db.conf-avoid-multilib-install-file-conflict.patch [new file with mode: 0644]
meta/recipes-extended/man-db/man-db_2.8.3.bb

diff --git a/meta/recipes-extended/man-db/files/man_db.conf-avoid-multilib-install-file-conflict.patch b/meta/recipes-extended/man-db/files/man_db.conf-avoid-multilib-install-file-conflict.patch
new file mode 100644 (file)
index 0000000..03273d3
--- /dev/null
@@ -0,0 +1,16 @@
+The first line of man_db.conf will be replaced by package name. And it causes
+multilib install file conflict. Remove the line to avoid the issue.
+
+Upstream-Status: Pending
+
+Signed-off-by: Kai Kang <kai.kang@windriver.com>
+
+diff --git a/src/man_db.conf.in b/src/man_db.conf.in
+index bc8bb7e..04cfb31 100644
+--- a/src/man_db.conf.in
++++ b/src/man_db.conf.in
+@@ -1,4 +1,3 @@
+-# @config_file_basename@
+ #
+ # This file is used by the man-db package to configure the man and cat paths.
+ # It is also used to provide a manpath for those without one by examining
index 97e5a3d6fb900e14a3c02f49384460b11751eb6f..cd8d27c33e952f212ed8b9486e86d9badcd14c92 100644 (file)
@@ -5,7 +5,8 @@ LIC_FILES_CHKSUM = "file://docs/COPYING.LIB;md5=a6f89e2100d9b6cdffcea4f398e37343
                     file://docs/COPYING;md5=eb723b61539feef013de476e68b5c50a"
 
 SRC_URI = "${SAVANNAH_NONGNU_MIRROR}/man-db/man-db-${PV}.tar.xz \
-           file://99_mandb"
+           file://99_mandb \
+           file://man_db.conf-avoid-multilib-install-file-conflict.patch"
 SRC_URI[md5sum] = "6f3055e18fdd1ce5cbbdb30403991ec7"
 SRC_URI[sha256sum] = "5932a1ca366e1ec61a3ece1a3afa0e92f2fdc125b61d236f20cc6ff9d80cc4ac"