aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMingli Yu <Mingli.Yu@windriver.com>2016-09-26 13:31:20 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2016-10-03 19:19:54 +0200
commit754111f078d986ee811aba64dab70e58da123412 (patch)
tree70a081e485ed4b4171aa79f9720f4a674ac4814c
parentaad32cfc8c184ff78e484957e751dc65982575a2 (diff)
downloadmeta-openembedded-contrib-754111f078d986ee811aba64dab70e58da123412.tar.gz
meta-openembedded-contrib-754111f078d986ee811aba64dab70e58da123412.tar.bz2
meta-openembedded-contrib-754111f078d986ee811aba64dab70e58da123412.zip
mariadb: add libdbd-mysql-perl to RDEPENDS
* Add libdbd-mysql-perl to RDEPENDS as mysql_setpermission depends on DBD::mysql module root@test:~# mysql_setpermission -h Option h is ambiguous (help, host) Password for user to connect to MySQL: install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (you may need to install the DBD::mysql module) (@INC contains: /etc/perl /usr/lib64/perl/site_perl/5.22.1/ /usr/lib64/perl/site_perl/5.22.1 /usr/lib64/perl/vendor_perl/5.22.1/ /usr/lib64/perl/vendor_perl/5.22.1 /usr/lib64/perl/5.22.1/ /usr/lib64/perl/5.22.1 /usr/local/lib/site_perl /usr/lib64/perl/5.22.1 .) at (eval 11) line 3, <STDIN> line 1. Perhaps the DBD::mysql perl module hasn't been fully installed, or perhaps the capitalisation of 'mysql' isn't right. Available drivers: DBM, ExampleP, File, Gofer, Proxy, Sponge. at /usr/bin/mysql_setpermission line 90. * Add libmysqlclient to Provides as libdbd-mysql-perl depend on it Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--meta-oe/recipes-support/mysql/mariadb.inc2
-rw-r--r--meta-oe/recipes-support/mysql/mariadb_5.5.50.bb2
2 files changed, 2 insertions, 2 deletions
diff --git a/meta-oe/recipes-support/mysql/mariadb.inc b/meta-oe/recipes-support/mysql/mariadb.inc
index c2d2ecf7a0..5dd8d64657 100644
--- a/meta-oe/recipes-support/mysql/mariadb.inc
+++ b/meta-oe/recipes-support/mysql/mariadb.inc
@@ -169,7 +169,7 @@ RDEPENDS_${PN}-client = "perl perl-module-getopt-long perl-module-file-temp \
RDEPENDS_${PN}-server = "perl perl-module-getopt-long perl-module-data-dumper \
perl-module-file-basename perl-module-file-path perl-module-sys-hostname \
perl-module-file-copy perl-module-file-temp perl-module-posix \
- ${PN}-client libdbi-perl"
+ ${PN}-client libdbi-perl libdbd-mysql-perl"
RDEPENDS_${PN}-leftovers = "perl perl-module-cwd perl-module-benchmark perl-module-getopt-long \
perl-module-posix perl-module-data-dumper perl-module-sigtrap perl-module-threads \
perl-module-threads-shared perl-module-io-socket perl-module-sys-hostname perl-module-file-copy \
diff --git a/meta-oe/recipes-support/mysql/mariadb_5.5.50.bb b/meta-oe/recipes-support/mysql/mariadb_5.5.50.bb
index 8f998a3a56..d7895732a6 100644
--- a/meta-oe/recipes-support/mysql/mariadb_5.5.50.bb
+++ b/meta-oe/recipes-support/mysql/mariadb_5.5.50.bb
@@ -4,7 +4,7 @@ EXTRA_OECMAKE += "-DSTACK_DIRECTION=-1"
DEPENDS += "mariadb-native ncurses zlib readline libaio libevent"
-PROVIDES += "mysql5"
+PROVIDES += "mysql5 libmysqlclient"
RPROVIDES_${PN} += "mysql5"
RREPLACES_${PN} += "mysql5"