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 | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-nova_git.bb b/meta-openstack/recipes-devtools/python/python-nova_git.bb index 17712d5..0a70aca 100644 --- a/meta-openstack/recipes-devtools/python/python-nova_git.bb +++ b/meta-openstack/recipes-devtools/python/python-nova_git.bb | |||
| @@ -20,11 +20,9 @@ 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 \ | ||
| 24 | file://nova-consoleauth \ | 23 | file://nova-consoleauth \ |
| 25 | file://nova.conf \ | 24 | file://nova.conf \ |
| 26 | file://openrc \ | 25 | file://openrc \ |
| 27 | file://nova-consoleproxy \ | ||
| 28 | " | 26 | " |
| 29 | SRCREV="afc9e4e23327fb566e8ade2c0c06c90d369c9e29" | 27 | SRCREV="afc9e4e23327fb566e8ade2c0c06c90d369c9e29" |
| 30 | PV="2013.2.2+git${SRCPV}" | 28 | PV="2013.2.2+git${SRCPV}" |
| @@ -109,21 +107,13 @@ do_install_append() { | |||
| 109 | install -m 0755 ${WORKDIR}/nova-all ${D}${sysconfdir}/init.d/nova-all | 107 | install -m 0755 ${WORKDIR}/nova-all ${D}${sysconfdir}/init.d/nova-all |
| 110 | install -m 0755 ${WORKDIR}/nova-consoleauth ${D}${sysconfdir}/init.d/nova-consoleauth | 108 | install -m 0755 ${WORKDIR}/nova-consoleauth ${D}${sysconfdir}/init.d/nova-consoleauth |
| 111 | 109 | ||
| 112 | for binary in api compute network scheduler cert conductor; do | 110 | for binary in api compute network scheduler cert conductor novncproxy spicehtml5proxy; do |
| 113 | sed "s:@suffix@:$binary:" < ${WORKDIR}/nova.init >${WORKDIR}/nova-$binary.init.sh | 111 | sed "s:@suffix@:$binary:" < ${WORKDIR}/nova.init >${WORKDIR}/nova-$binary.init.sh |
| 114 | install -m 0755 ${WORKDIR}/nova-$binary.init.sh ${D}${sysconfdir}/init.d/nova-$binary | 112 | install -m 0755 ${WORKDIR}/nova-$binary.init.sh ${D}${sysconfdir}/init.d/nova-$binary |
| 115 | done | 113 | 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 | ||
| 122 | fi | 114 | fi |
| 123 | 115 | ||
| 124 | cp run_tests.sh ${NOVA_CONF_DIR} | 116 | cp run_tests.sh ${NOVA_CONF_DIR} |
| 125 | |||
| 126 | install -D -o nova -m 664 ${WORKDIR}/nova-consoleproxy ${D}${sysconfdir}/default/nova-consoleproxy | ||
| 127 | } | 117 | } |
| 128 | 118 | ||
| 129 | pkg_postinst_${SRCNAME}-setup () { | 119 | pkg_postinst_${SRCNAME}-setup () { |
| @@ -196,7 +186,6 @@ FILES_${SRCNAME}-novncproxy = " \ | |||
| 196 | " | 186 | " |
| 197 | FILES_${SRCNAME}-spicehtml5proxy = " \ | 187 | FILES_${SRCNAME}-spicehtml5proxy = " \ |
| 198 | ${sysconfdir}/init.d/nova-spicehtml5proxy \ | 188 | ${sysconfdir}/init.d/nova-spicehtml5proxy \ |
| 199 | ${sysconfdir}/default/nova-consoleproxy \ | ||
| 200 | " | 189 | " |
| 201 | FILES_${SRCNAME}-network = " \ | 190 | FILES_${SRCNAME}-network = " \ |
| 202 | ${sysconfdir}/init.d/nova-network \ | 191 | ${sysconfdir}/init.d/nova-network \ |
