From: Zac Medico Date: Fri, 5 Jan 2018 00:19:22 +0000 (-0800) Subject: sys-apps/portage: use systemd eclass for tmpfiles support X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=302eff51953f1258205feba67936bfb779fc3478;p=gentoo.git sys-apps/portage: use systemd eclass for tmpfiles support Closes: https://bugs.gentoo.org/643386 Package-Manager: Portage-2.3.19, Repoman-2.3.6 --- diff --git a/sys-apps/portage/portage-2.3.19-r1.ebuild b/sys-apps/portage/portage-2.3.19-r1.ebuild index ad03ed45ed62..b4d889b80920 100644 --- a/sys-apps/portage/portage-2.3.19-r1.ebuild +++ b/sys-apps/portage/portage-2.3.19-r1.ebuild @@ -10,7 +10,7 @@ PYTHON_COMPAT=( ) PYTHON_REQ_USE='bzip2(+),threads(+)' -inherit distutils-r1 +inherit distutils-r1 systemd DESCRIPTION="Portage is the package management and distribution system for Gentoo" HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage" @@ -203,8 +203,7 @@ python_install_all() { esetup.py "${targets[@]}" fi - insinto /usr/lib/tmpfiles.d - doins "${FILESDIR}"/portage-ccache.conf + systemd_dotmpfilesd "${FILESDIR}"/portage-ccache.conf # Due to distutils/python-exec limitations # these must be installed to /usr/bin. diff --git a/sys-apps/portage/portage-9999.ebuild b/sys-apps/portage/portage-9999.ebuild index db45902de9a1..3464c42d7189 100644 --- a/sys-apps/portage/portage-9999.ebuild +++ b/sys-apps/portage/portage-9999.ebuild @@ -10,7 +10,7 @@ PYTHON_COMPAT=( ) PYTHON_REQ_USE='bzip2(+),threads(+)' -inherit distutils-r1 git-r3 +inherit distutils-r1 git-r3 systemd DESCRIPTION="Portage is the package management and distribution system for Gentoo" HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage" @@ -202,8 +202,7 @@ python_install_all() { esetup.py "${targets[@]}" fi - insinto /usr/lib/tmpfiles.d - doins "${FILESDIR}"/portage-ccache.conf + systemd_dotmpfilesd "${FILESDIR}"/portage-ccache.conf # Due to distutils/python-exec limitations # they must be installed to /usr/bin.