diff options
author | Patrice Clement <monsieurp@gentoo.org> | 2019-02-19 23:48:11 +0100 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2019-02-19 23:48:11 +0100 |
commit | 3a838aa7a0762719f9aae0aa46568ac802dc90f9 (patch) | |
tree | 74d6ce3e2e2004607830001c5b8a00bbc021033c /sys-cluster | |
parent | profiles/hardened/linux/ia64: deprecate in favour of 17.0 profiles (diff) | |
download | gentoo-3a838aa7a0762719f9aae0aa46568ac802dc90f9.tar.gz gentoo-3a838aa7a0762719f9aae0aa46568ac802dc90f9.tar.bz2 gentoo-3a838aa7a0762719f9aae0aa46568ac802dc90f9.zip |
sys-cluster/util-vserver: create needed runtime directories.
Closes: https://bugs.gentoo.org/632586
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/util-vserver/util-vserver-0.30.216_pre3120-r1.ebuild | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/sys-cluster/util-vserver/util-vserver-0.30.216_pre3120-r1.ebuild b/sys-cluster/util-vserver/util-vserver-0.30.216_pre3120-r1.ebuild index 228e64e50988..b4195e8a8d90 100644 --- a/sys-cluster/util-vserver/util-vserver-0.30.216_pre3120-r1.ebuild +++ b/sys-cluster/util-vserver/util-vserver-0.30.216_pre3120-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -30,6 +30,8 @@ RDEPEND=" S="${WORKDIR}/${MY_P}" +DOCS=( README ChangeLog NEWS AUTHORS THANKS util-vserver.spec ) + pkg_setup() { if [[ -z "${VDIRBASE}" ]]; then einfo @@ -68,15 +70,16 @@ src_compile() { src_install() { make DESTDIR="${D}" install install-distribution || die + # remove runtime paths + rm -r "${D}"/var/run || die + rm -r "${D}"/var/cache || die + # keep dirs - keepdir /var/cache/vservers keepdir "${VDIRBASE}" keepdir "${VDIRBASE}"/.pkg # bash-completion newbashcomp "${FILESDIR}"/bash_completion ${PN} - - dodoc README ChangeLog NEWS AUTHORS THANKS util-vserver.spec } pkg_postinst() { |