summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-dbs
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2018-09-18 00:05:26 +0800
committerKhem Raj <raj.khem@gmail.com>2018-09-18 20:17:02 -0700
commit3f6b81b85c9983e5fc22160bd4b92c546219812a (patch)
tree59aaa748f7fef0462e54134f4e76b92f13a22383 /meta-oe/recipes-dbs
parentd9abf69f20e93f6fc47cbb0edd69224f3dba2733 (diff)
downloadmeta-openembedded-3f6b81b85c9983e5fc22160bd4b92c546219812a.tar.gz
mariadb: split one dpg package
Multiple -dbg packages per recipe is not encouraged, and only one is recommended and the code only works properly in some cases for one. Add RPROVIDES_${PN}-dbg to be compatiable with previous dbg packages requiring. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-dbs')
-rw-r--r--meta-oe/recipes-dbs/mysql/mariadb.inc9
1 files changed, 4 insertions, 5 deletions
diff --git a/meta-oe/recipes-dbs/mysql/mariadb.inc b/meta-oe/recipes-dbs/mysql/mariadb.inc
index 8ac0dbb51..b9fa98b5a 100644
--- a/meta-oe/recipes-dbs/mysql/mariadb.inc
+++ b/meta-oe/recipes-dbs/mysql/mariadb.inc
@@ -162,13 +162,15 @@ do_install() {
162} 162}
163 163
164PACKAGES = "${PN}-dbg ${PN} \ 164PACKAGES = "${PN}-dbg ${PN} \
165 libmysqlclient-r libmysqlclient-r-dev libmysqlclient-r-staticdev libmysqlclient-r-dbg \ 165 libmysqlclient-r libmysqlclient-r-dev libmysqlclient-r-staticdev \
166 libmysqlclient libmysqlclient-dev libmysqlclient-staticdev libmysqlclient-dbg \ 166 libmysqlclient libmysqlclient-dev libmysqlclient-staticdev \
167 libmysqld libmysqld-dev ${PN}-client ${PN}-server ${PN}-setupdb ${PN}-leftovers" 167 libmysqld libmysqld-dev ${PN}-client ${PN}-server ${PN}-setupdb ${PN}-leftovers"
168CONFFILES_${PN}-server += "${sysconfdir}/my.cnf ${sysconfdir}/my.cnf.d/server.cnf" 168CONFFILES_${PN}-server += "${sysconfdir}/my.cnf ${sysconfdir}/my.cnf.d/server.cnf"
169CONFFILES_${PN}-client += "${sysconfdir}/my.cnf.d/mysql-clients.cnf" 169CONFFILES_${PN}-client += "${sysconfdir}/my.cnf.d/mysql-clients.cnf"
170CONFFILES_libmysqlclient += "${sysconfdir}/my.cnf.d/client.cnf" 170CONFFILES_libmysqlclient += "${sysconfdir}/my.cnf.d/client.cnf"
171 171
172RPROVIDES_${PN}-dbg += "libmysqlclient-r-dbg libmysqlclient-dbg"
173
172FILES_${PN} = " " 174FILES_${PN} = " "
173RDEPENDS_${PN} = "${PN}-client ${PN}-server" 175RDEPENDS_${PN} = "${PN}-client ${PN}-server"
174ALLOW_EMPTY_${PN} = "1" 176ALLOW_EMPTY_${PN} = "1"
@@ -201,8 +203,6 @@ FILES_libmysqlclient-dev = " \
201 ${bindir}/mysql_config" 203 ${bindir}/mysql_config"
202FILES_libmysqlclient-staticdev = "\ 204FILES_libmysqlclient-staticdev = "\
203 ${libdir}/*.a" 205 ${libdir}/*.a"
204FILES_libmysqlclient-dbg = "${libdir}/plugin/.debug/ \
205 ${datadir}/mysql-test/lib/My/SafeProcess/.debug/my_safe_process"
206 206
207# Avoid warnings about ha_xtradb.so.0.0.0 and ha_innodb_plugin.so.0.0.0 207# Avoid warnings about ha_xtradb.so.0.0.0 and ha_innodb_plugin.so.0.0.0
208# which are intentionally non-PIC on 32-bit x86 (see e.g. 208# which are intentionally non-PIC on 32-bit x86 (see e.g.
@@ -213,7 +213,6 @@ FILES_libmysqlclient-r = "${libdir}/libmysqlclient_r.so.*"
213FILES_libmysqlclient-r-dev = "\ 213FILES_libmysqlclient-r-dev = "\
214 ${libdir}/libmysqlclient_r.so" 214 ${libdir}/libmysqlclient_r.so"
215FILES_libmysqlclient-r-staticdev = "${libdir}/libmysqlclient_r.a" 215FILES_libmysqlclient-r-staticdev = "${libdir}/libmysqlclient_r.a"
216FILES_libmysqlclient-r-dbg = "${libdir}/plugin/.debuglibmysqlclient_r.so.*"
217 216
218FILES_libmysqld = "\ 217FILES_libmysqld = "\
219 ${libdir}/libmysqld.so.*" 218 ${libdir}/libmysqld.so.*"