summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2017-07-26 16:54:27 -0400
committerBrian Evans <grknight@gentoo.org>2017-07-26 16:54:27 -0400
commit83ef73dd92299da24b4248f2fb6a0012e8418bdc (patch)
tree7bb9ce614dfe46c58e10bdf41d10370f3c69170b
parentRevert "dev-libs/nanomsg: make tests sequential" (diff)
downloadgentoo-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.ebuild14
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