From 00e5c01f3a9ae5d2407b4d2201df00eb190c6105 Mon Sep 17 00:00:00 2001 From: Brian Evans Date: Mon, 27 Aug 2018 13:40:40 -0400 Subject: [PATCH] dev-db/mysql-init-scripts: Use tmpfiles eclass during install Package-Manager: Portage-2.3.48, Repoman-2.3.10 --- dev-db/mysql-init-scripts/mysql-init-scripts-2.2-r3.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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." -- 2.26.2