diff options
author | Brian Evans <grknight@gentoo.org> | 2017-07-26 16:54:27 -0400 |
---|---|---|
committer | Brian Evans <grknight@gentoo.org> | 2017-07-26 16:54:27 -0400 |
commit | 83ef73dd92299da24b4248f2fb6a0012e8418bdc (patch) | |
tree | 7bb9ce614dfe46c58e10bdf41d10370f3c69170b | |
parent | Revert "dev-libs/nanomsg: make tests sequential" (diff) | |
download | gentoo-83ef73dd92299da24b4248f2fb6a0012e8418bdc.tar.gz gentoo-83ef73dd92299da24b4248f2fb6a0012e8418bdc.tar.bz2 gentoo-83ef73dd92299da24b4248f2fb6a0012e8418bdc.zip |
dev-db/mariadb: Add elog message about the configuration changes
Package-Manager: Portage-2.3.6, Repoman-2.3.3
-rw-r--r-- | dev-db/mariadb/mariadb-10.2.7.ebuild | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-db/mariadb/mariadb-10.2.7.ebuild b/dev-db/mariadb/mariadb-10.2.7.ebuild index b3a418dee7b7..9e83778c5928 100644 --- a/dev-db/mariadb/mariadb-10.2.7.ebuild +++ b/dev-db/mariadb/mariadb-10.2.7.ebuild @@ -108,6 +108,20 @@ pkg_preinst() { fi } +pkg_postinst() { + mysql-multilib-r1_pkg_postinst + + # Note about configuration change + einfo + elog "This version of mariadb reorganizes the configuration from a single my.cnf" + elog "to several files in /etc/mysql/${PN}.d." + elog "Please backup any changes you made to /etc/mysql/my.cnf" + elog "and add them as a new file under /etc/mysql/${PN}.d with a .cnf extension." + elog "You may have as many files as needed and they are read alphabetically." + elog "Be sure the options have the appropitate section headers, i.e. [mysqld]." + einfo +} + src_prepare() { java-pkg-opt-2_src_prepare if use tcmalloc; then |