diff options
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-nova_git.bb')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-nova_git.bb | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-nova_git.bb b/meta-openstack/recipes-devtools/python/python-nova_git.bb index 427c167..17712d5 100644 --- a/meta-openstack/recipes-devtools/python/python-nova_git.bb +++ b/meta-openstack/recipes-devtools/python/python-nova_git.bb | |||
| @@ -20,9 +20,8 @@ SRC_URI = "git://github.com/openstack/${SRCNAME}.git;branch=stable/havana \ | |||
| 20 | 20 | ||
| 21 | SRC_URI += "file://nova-all \ | 21 | SRC_URI += "file://nova-all \ |
| 22 | file://nova.init \ | 22 | file://nova.init \ |
| 23 | file://nova-console.init \ | ||
| 23 | file://nova-consoleauth \ | 24 | file://nova-consoleauth \ |
| 24 | file://nova-novncproxy \ | ||
| 25 | file://nova-spicehtml5proxy \ | ||
| 26 | file://nova.conf \ | 25 | file://nova.conf \ |
| 27 | file://openrc \ | 26 | file://openrc \ |
| 28 | file://nova-consoleproxy \ | 27 | file://nova-consoleproxy \ |
| @@ -109,13 +108,17 @@ do_install_append() { | |||
| 109 | # nova-all is installed (and packaged), but not used as an initscript by default | 108 | # nova-all is installed (and packaged), but not used as an initscript by default |
| 110 | install -m 0755 ${WORKDIR}/nova-all ${D}${sysconfdir}/init.d/nova-all | 109 | install -m 0755 ${WORKDIR}/nova-all ${D}${sysconfdir}/init.d/nova-all |
| 111 | install -m 0755 ${WORKDIR}/nova-consoleauth ${D}${sysconfdir}/init.d/nova-consoleauth | 110 | install -m 0755 ${WORKDIR}/nova-consoleauth ${D}${sysconfdir}/init.d/nova-consoleauth |
| 112 | install -m 0755 ${WORKDIR}/nova-novncproxy ${D}${sysconfdir}/init.d/nova-novncproxy | ||
| 113 | install -m 0755 ${WORKDIR}/nova-spicehtml5proxy ${D}${sysconfdir}/init.d/nova-spicehtml5proxy | ||
| 114 | 111 | ||
| 115 | for binary in api compute network scheduler cert conductor; do | 112 | for binary in api compute network scheduler cert conductor; do |
| 116 | sed "s:@suffix@:$binary:" < ${WORKDIR}/nova.init >${WORKDIR}/nova-$binary.init.sh | 113 | sed "s:@suffix@:$binary:" < ${WORKDIR}/nova.init >${WORKDIR}/nova-$binary.init.sh |
| 117 | install -m 0755 ${WORKDIR}/nova-$binary.init.sh ${D}${sysconfdir}/init.d/nova-$binary | 114 | install -m 0755 ${WORKDIR}/nova-$binary.init.sh ${D}${sysconfdir}/init.d/nova-$binary |
| 118 | done | 115 | done |
| 116 | for binary in novncproxy spicehtml5proxy; do | ||
| 117 | proxy_type=`echo $binary | sed -e 's/proxy//;'` | ||
| 118 | sed "s:@suffix@:$binary:" < ${WORKDIR}/nova-console.init | \ | ||
| 119 | sed "s:@proxy_type@:$proxy_type:" >${WORKDIR}/nova-$binary.init.sh | ||
| 120 | install -m 0755 ${WORKDIR}/nova-$binary.init.sh ${D}${sysconfdir}/init.d/nova-$binary | ||
| 121 | done | ||
| 119 | fi | 122 | fi |
| 120 | 123 | ||
| 121 | cp run_tests.sh ${NOVA_CONF_DIR} | 124 | cp run_tests.sh ${NOVA_CONF_DIR} |
