summaryrefslogtreecommitdiffstats
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-754111f078d986ee811aba64dab70e58da123412.tar.gz
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 c2d2ecf7a..5dd8d6465 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 \
169RDEPENDS_${PN}-server = "perl perl-module-getopt-long perl-module-data-dumper \ 169RDEPENDS_${PN}-server = "perl perl-module-getopt-long perl-module-data-dumper \
170 perl-module-file-basename perl-module-file-path perl-module-sys-hostname \ 170 perl-module-file-basename perl-module-file-path perl-module-sys-hostname \
171 perl-module-file-copy perl-module-file-temp perl-module-posix \ 171 perl-module-file-copy perl-module-file-temp perl-module-posix \
172 ${PN}-client libdbi-perl" 172 ${PN}-client libdbi-perl libdbd-mysql-perl"
173RDEPENDS_${PN}-leftovers = "perl perl-module-cwd perl-module-benchmark perl-module-getopt-long \ 173RDEPENDS_${PN}-leftovers = "perl perl-module-cwd perl-module-benchmark perl-module-getopt-long \
174 perl-module-posix perl-module-data-dumper perl-module-sigtrap perl-module-threads \ 174 perl-module-posix perl-module-data-dumper perl-module-sigtrap perl-module-threads \
175 perl-module-threads-shared perl-module-io-socket perl-module-sys-hostname perl-module-file-copy \ 175 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 8f998a3a5..d7895732a 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"
4 4
5DEPENDS += "mariadb-native ncurses zlib readline libaio libevent" 5DEPENDS += "mariadb-native ncurses zlib readline libaio libevent"
6 6
7PROVIDES += "mysql5" 7PROVIDES += "mysql5 libmysqlclient"
8 8
9RPROVIDES_${PN} += "mysql5" 9RPROVIDES_${PN} += "mysql5"
10RREPLACES_${PN} += "mysql5" 10RREPLACES_${PN} += "mysql5"