summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2016-04-05 11:37:38 -0700
committerPatrick McLean <chutzpah@gentoo.org>2016-04-05 11:42:20 -0700
commit83fa4cbff1bc4a7ea7d7dc8ec5aa6757894cbf54 (patch)
tree022cd4a654b96ee9805b369f5aa3ac2fc6fdff68 /app-emulation/ganeti
parentapp-emulation/ganeti: Clean out old versions (diff)
downloadgentoo-83fa4cbff1bc4a7ea7d7dc8ec5aa6757894cbf54.tar.gz
gentoo-83fa4cbff1bc4a7ea7d7dc8ec5aa6757894cbf54.tar.bz2
gentoo-83fa4cbff1bc4a7ea7d7dc8ec5aa6757894cbf54.zip
app-emulation/ganeti: Don't use keepdir to create /var/lib/ganeti in older versions
Gentoo-Bug: 552482 Package-Manager: portage-2.2.28
Diffstat (limited to 'app-emulation/ganeti')
-rw-r--r--app-emulation/ganeti/ganeti-2.11.6-r2.ebuild5
-rw-r--r--app-emulation/ganeti/ganeti-2.12.3-r2.ebuild5
-rw-r--r--app-emulation/ganeti/ganeti-2.13.0-r2.ebuild5
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}/