diff options
| -rw-r--r-- | meta-oe/recipes-dbs/mysql/mariadb.inc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/meta-oe/recipes-dbs/mysql/mariadb.inc b/meta-oe/recipes-dbs/mysql/mariadb.inc index 51dd4e8d43..32a6022bab 100644 --- a/meta-oe/recipes-dbs/mysql/mariadb.inc +++ b/meta-oe/recipes-dbs/mysql/mariadb.inc | |||
| @@ -33,10 +33,12 @@ UPSTREAM_CHECK_URI = "https://github.com/MariaDB/server/tags" | |||
| 33 | 33 | ||
| 34 | BINCONFIG_GLOB = "mysql_config" | 34 | BINCONFIG_GLOB = "mysql_config" |
| 35 | 35 | ||
| 36 | inherit cmake gettext binconfig update-rc.d systemd multilib_script pkgconfig | 36 | inherit cmake gettext binconfig update-rc.d systemd multilib_script multilib_header pkgconfig |
| 37 | 37 | ||
| 38 | MULTILIB_SCRIPTS = "${PN}-server:${bindir}/mariadbd-safe \ | 38 | MULTILIB_SCRIPTS = "${PN}-server:${bindir}/mariadbd-safe \ |
| 39 | ${PN}-setupdb:${bindir}/mariadb-install-db" | 39 | ${PN}-setupdb:${bindir}/mariadb-install-db \ |
| 40 | libmysqlclient-dev:${bindir}/mysql_config \ | ||
| 41 | " | ||
| 40 | 42 | ||
| 41 | INITSCRIPT_PACKAGES = "${PN}-server ${PN}-setupdb" | 43 | INITSCRIPT_PACKAGES = "${PN}-server ${PN}-setupdb" |
| 42 | INITSCRIPT_NAME:${PN}-server = "mysqld" | 44 | INITSCRIPT_NAME:${PN}-server = "mysqld" |
| @@ -160,6 +162,7 @@ mariadb_sysroot_preprocess () { | |||
| 160 | 162 | ||
| 161 | do_install() { | 163 | do_install() { |
| 162 | oe_runmake 'DESTDIR=${D}' install | 164 | oe_runmake 'DESTDIR=${D}' install |
| 165 | oe_multilib_header mysql/mariadb_version.h mysql/server/my_config.h mysql/server/private/config.h | ||
| 163 | 166 | ||
| 164 | install -d ${D}/${sysconfdir}/init.d | 167 | install -d ${D}/${sysconfdir}/init.d |
| 165 | install -m 0644 ${UNPACKDIR}/my.cnf ${D}/${sysconfdir}/ | 168 | install -m 0644 ${UNPACKDIR}/my.cnf ${D}/${sysconfdir}/ |
