diff options
author | Mikle Kolyada <zlogene@gentoo.org> | 2020-06-10 21:25:47 +0300 |
---|---|---|
committer | Mikle Kolyada <zlogene@gentoo.org> | 2020-06-10 21:27:06 +0300 |
commit | db815939b0820c83b07dd3cc9112fabc745abad9 (patch) | |
tree | 3db4ec7ae89749729b6271a3c50b36121864d583 /sys-libs/pam | |
parent | gmp: Respect portage host cc variable (diff) | |
download | gentoo-db815939b0820c83b07dd3cc9112fabc745abad9.tar.gz gentoo-db815939b0820c83b07dd3cc9112fabc745abad9.tar.bz2 gentoo-db815939b0820c83b07dd3cc9112fabc745abad9.zip |
sys-libs/pam: create runtime directory for faillock
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'sys-libs/pam')
-rw-r--r-- | sys-libs/pam/pam-1.4.0.ebuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sys-libs/pam/pam-1.4.0.ebuild b/sys-libs/pam/pam-1.4.0.ebuild index 618c8ca6467a..3583a5ca60aa 100644 --- a/sys-libs/pam/pam-1.4.0.ebuild +++ b/sys-libs/pam/pam-1.4.0.ebuild @@ -92,9 +92,13 @@ multilib_src_install() { multilib_src_install_all() { find "${ED}" -type f -name '*.la' -delete || die + dodir /usr/lib/tmpfiles.d + cat - > "${D}"/usr/lib/tmpfiles.d/${CATEGORY}:${PN}-:${SLOT}.conf <<EOF +d /var/run/faillock 0755 root root - +EOF + if use selinux; then - dodir /usr/lib/tmpfiles.d - cat - > "${D}"/usr/lib/tmpfiles.d/${CATEGORY}:${PN}:${SLOT}.conf <<EOF + cat - >> "${D}"/usr/lib/tmpfiles.d/${CATEGORY}:${PN}:${SLOT}.conf <<EOF d /run/sepermit 0755 root root EOF fi |