dev-db/mariadb: Add elog message about the configuration changes
authorBrian Evans <grknight@gentoo.org>
Wed, 26 Jul 2017 20:54:27 +0000 (16:54 -0400)
committerBrian Evans <grknight@gentoo.org>
Wed, 26 Jul 2017 20:54:27 +0000 (16:54 -0400)
Package-Manager: Portage-2.3.6, Repoman-2.3.3

dev-db/mariadb/mariadb-10.2.7.ebuild

index b3a418dee7b70f34dabb709371f216a62afe8047..9e83778c59289dd99a6a5adbb3f24c696c581962 100644 (file)
@@ -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