From 83fa4cbff1bc4a7ea7d7dc8ec5aa6757894cbf54 Mon Sep 17 00:00:00 2001 From: Patrick McLean Date: Tue, 5 Apr 2016 11:37:38 -0700 Subject: app-emulation/ganeti: Don't use keepdir to create /var/lib/ganeti in older versions Gentoo-Bug: 552482 Package-Manager: portage-2.2.28 --- app-emulation/ganeti/ganeti-2.11.6-r2.ebuild | 5 ++++- app-emulation/ganeti/ganeti-2.12.3-r2.ebuild | 5 ++++- app-emulation/ganeti/ganeti-2.13.0-r2.ebuild | 5 ++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/app-emulation/ganeti/ganeti-2.11.6-r2.ebuild b/app-emulation/ganeti/ganeti-2.11.6-r2.ebuild index c7362d27e427..86677b7b601b 100644 --- a/app-emulation/ganeti/ganeti-2.11.6-r2.ebuild +++ b/app-emulation/ganeti/ganeti-2.11.6-r2.ebuild @@ -195,7 +195,10 @@ src_install () { insinto /etc/logrotate.d newins doc/examples/ganeti.logrotate ${PN} - keepdir /var/{lib,log}/${PN}/ + # need to dodir rather than keepdir here (bug #552482) + dodir /var/lib/${PN} + + keepdir /var/log/${PN}/ keepdir /usr/share/${PN}/${SERIES}/os/ keepdir /var/lib/ganeti-storage/{export,file,shared}/ diff --git a/app-emulation/ganeti/ganeti-2.12.3-r2.ebuild b/app-emulation/ganeti/ganeti-2.12.3-r2.ebuild index c1eb25d7b864..7707e09208c4 100644 --- a/app-emulation/ganeti/ganeti-2.12.3-r2.ebuild +++ b/app-emulation/ganeti/ganeti-2.12.3-r2.ebuild @@ -235,7 +235,10 @@ src_install () { insinto /etc/logrotate.d newins doc/examples/ganeti.logrotate ${PN} - keepdir /var/{lib,log}/${PN}/ + # need to dodir rather than keepdir here (bug #552482) + dodir /var/lib/${PN} + + keepdir /var/log/${PN}/ keepdir /usr/share/${PN}/${SERIES}/os/ keepdir /var/lib/ganeti-storage/{export,file,shared}/ diff --git a/app-emulation/ganeti/ganeti-2.13.0-r2.ebuild b/app-emulation/ganeti/ganeti-2.13.0-r2.ebuild index 45a4009dce60..42b24edac28e 100644 --- a/app-emulation/ganeti/ganeti-2.13.0-r2.ebuild +++ b/app-emulation/ganeti/ganeti-2.13.0-r2.ebuild @@ -231,7 +231,10 @@ src_install () { insinto /etc/logrotate.d newins doc/examples/ganeti.logrotate ${PN} - keepdir /var/{lib,log}/${PN}/ + # need to dodir rather than keepdir here (bug #552482) + dodir /var/lib/${PN} + + keepdir /var/log/${PN}/ keepdir /usr/share/${PN}/${SERIES}/os/ keepdir /var/lib/ganeti-storage/{export,file,shared}/ -- cgit v1.2.3-65-gdbad