summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2016-11-28 18:45:37 -0600
committerMatthew Thode <prometheanfire@gentoo.org>2016-11-28 18:47:13 -0600
commitda2296468021ed90ac06a686a693c3dbbca381c8 (patch)
tree844535b12fc50c4dcdc4ed548e952c988a8b5840 /sys-cluster
parentkernel-2.eclass: Support EAPI 6 when applying user patches. (diff)
downloadgentoo-da2296468021ed90ac06a686a693c3dbbca381c8.tar.gz
gentoo-da2296468021ed90ac06a686a693c3dbbca381c8.tar.bz2
gentoo-da2296468021ed90ac06a686a693c3dbbca381c8.zip
sys-cluster/nova: switch to cdrtools for bug 591784
Package-Manager: portage-2.3.0
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/nova/files/nova-compute.conf2
-rw-r--r--sys-cluster/nova/files/nova.initd11
-rw-r--r--sys-cluster/nova/nova-2016.1.9999.ebuild3
-rw-r--r--sys-cluster/nova/nova-2016.2.9999.ebuild3
4 files changed, 14 insertions, 5 deletions
diff --git a/sys-cluster/nova/files/nova-compute.conf b/sys-cluster/nova/files/nova-compute.conf
new file mode 100644
index 000000000000..b00679428a9d
--- /dev/null
+++ b/sys-cluster/nova/files/nova-compute.conf
@@ -0,0 +1,2 @@
+[DEFAULT]
+mkisofs_cmd = /usr/bin/mkisofs
diff --git a/sys-cluster/nova/files/nova.initd b/sys-cluster/nova/files/nova.initd
index e259fd9c19da..a1ba549cf928 100644
--- a/sys-cluster/nova/files/nova.initd
+++ b/sys-cluster/nova/files/nova.initd
@@ -1,5 +1,5 @@
#!/sbin/openrc-run
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
description="Starts ${SVCNAME} service for OpenStack"
@@ -8,10 +8,15 @@ command=/usr/bin/${SVCNAME}
command_background=yes
pidfile=/var/run/nova/${SVCNAME}.pid
required_files=/etc/nova/nova.conf
-start_stop_daemon_args="--quiet --user ${NOVA_USER:-nova}"
+start_stop_daemon_args="--quiet --user ${NOVA_USER:-nova} --config-file /etc/nova/nova.conf"
+if [[ "$SVCNAME" == nova-compute ]]; then
+ required_files="${required_files} /etc/nova/nova-compute.conf"
+ start_stop_daemon_args="${start_stop_daemon_args} --config-file /etc/nova/nova-compute.conf"
+fi
+
depend() {
- need net
+ use net
}
start_pre() {
diff --git a/sys-cluster/nova/nova-2016.1.9999.ebuild b/sys-cluster/nova/nova-2016.1.9999.ebuild
index 1c02b057e90c..d9b2ff6c7b3a 100644
--- a/sys-cluster/nova/nova-2016.1.9999.ebuild
+++ b/sys-cluster/nova/nova-2016.1.9999.ebuild
@@ -120,7 +120,7 @@ RDEPEND="
sys-fs/multipath-tools
net-misc/bridge-utils
compute? (
- app-cdr/cdrkit
+ app-cdr/cdrtools
sys-fs/dosfstools
app-emulation/qemu
)
@@ -170,6 +170,7 @@ python_install() {
insinto /etc/nova
insopts -m 0640 -o nova -g nova
newins "${DISTDIR}/mitaka-nova.conf.sample" "nova.conf.sample"
+ doins "${FILESDIR}/nova-compute.conf"
doins "${S}/etc/nova/"*
#rootwrap filters
insopts -m 0644
diff --git a/sys-cluster/nova/nova-2016.2.9999.ebuild b/sys-cluster/nova/nova-2016.2.9999.ebuild
index 27e0b1fcea84..59fded1dcd01 100644
--- a/sys-cluster/nova/nova-2016.2.9999.ebuild
+++ b/sys-cluster/nova/nova-2016.2.9999.ebuild
@@ -132,7 +132,7 @@ RDEPEND="
sys-fs/multipath-tools
net-misc/bridge-utils
compute? (
- app-cdr/cdrkit
+ app-cdr/cdrtools
sys-fs/dosfstools
app-emulation/qemu
)
@@ -182,6 +182,7 @@ python_install() {
insinto /etc/nova
insopts -m 0640 -o nova -g nova
newins "${DISTDIR}/newton-nova.conf.sample" "nova.conf.sample"
+ doins "${FILESDIR}/nova-compute.conf"
doins "${S}/etc/nova/"*
#rootwrap filters
insopts -m 0644