From: Brian Evans Date: Mon, 27 Aug 2018 17:40:40 +0000 (-0400) Subject: dev-db/mysql-init-scripts: Use tmpfiles eclass during install X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=00e5c01f3a9ae5d2407b4d2201df00eb190c6105;p=gentoo.git dev-db/mysql-init-scripts: Use tmpfiles eclass during install Package-Manager: Portage-2.3.48, Repoman-2.3.10 --- diff --git a/dev-db/mysql-init-scripts/mysql-init-scripts-2.2-r3.ebuild b/dev-db/mysql-init-scripts/mysql-init-scripts-2.2-r3.ebuild index 8fa8c8341de8..d0a1278895f8 100644 --- a/dev-db/mysql-init-scripts/mysql-init-scripts-2.2-r3.ebuild +++ b/dev-db/mysql-init-scripts/mysql-init-scripts-2.2-r3.ebuild @@ -3,7 +3,7 @@ EAPI=6 -inherit systemd s6 +inherit systemd s6 tmpfiles DESCRIPTION="Gentoo MySQL init scripts." HOMEPAGE="https://www.gentoo.org/" @@ -44,13 +44,14 @@ src_install() { doexe "${FILESDIR}"/mysqld-wait-ready systemd_newunit "${FILESDIR}/mysqld-v2.service" "mysqld.service" systemd_newunit "${FILESDIR}/mysqld_at-v2.service" "mysqld@.service" - systemd_dotmpfilesd "${FILESDIR}/mysql.conf" + dotmpfiles "${FILESDIR}/mysql.conf" insinto /etc/logrotate.d newins "${FILESDIR}/logrotate.mysql" "mysql" } pkg_postinst() { + tmpfiles_process mysql.conf if use amd64 || use x86 ; then elog "" elog "To use the mysql-s6 script, you need to install the optional sys-apps/s6 package."