summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-nova_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-nova_git.bb')
-rw-r--r--meta-openstack/recipes-devtools/python/python-nova_git.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-nova_git.bb b/meta-openstack/recipes-devtools/python/python-nova_git.bb
index 9fb1daa..39219ad 100644
--- a/meta-openstack/recipes-devtools/python/python-nova_git.bb
+++ b/meta-openstack/recipes-devtools/python/python-nova_git.bb
@@ -107,6 +107,8 @@ do_install_append() {
107 install -m 0755 ${WORKDIR}/nova-$binary.init.sh ${D}${sysconfdir}/init.d/nova-$binary 107 install -m 0755 ${WORKDIR}/nova-$binary.init.sh ${D}${sysconfdir}/init.d/nova-$binary
108 done 108 done
109 fi 109 fi
110
111 cp run_tests.sh ${NOVA_CONF_DIR}
110} 112}
111 113
112pkg_postinst_${SRCNAME}-setup () { 114pkg_postinst_${SRCNAME}-setup () {
@@ -143,6 +145,7 @@ GROUPADD_PARAM_${PN} = "--system nova"
143USERADD_PARAM_${PN} = "--system --home /var/lib/nova -g nova -G libvirt \ 145USERADD_PARAM_${PN} = "--system --home /var/lib/nova -g nova -G libvirt \
144 --no-create-home --shell /bin/false nova" 146 --no-create-home --shell /bin/false nova"
145 147
148PACKAGES += " ${SRCNAME}-tests"
146PACKAGES += " ${SRCNAME}-setup ${SRCNAME}-common ${SRCNAME}-compute ${SRCNAME}-controller" 149PACKAGES += " ${SRCNAME}-setup ${SRCNAME}-common ${SRCNAME}-compute ${SRCNAME}-controller"
147PACKAGES += " ${SRCNAME}-consoleauth" 150PACKAGES += " ${SRCNAME}-consoleauth"
148PACKAGES += " ${SRCNAME}-novncproxy" 151PACKAGES += " ${SRCNAME}-novncproxy"
@@ -156,6 +159,8 @@ ALLOW_EMPTY_${SRCNAME}-setup = "1"
156 159
157FILES_${PN} = "${libdir}/*" 160FILES_${PN} = "${libdir}/*"
158 161
162FILES_${SRCNAME}-tests = "${sysconfdir}/${SRCNAME}/run_tests.sh"
163
159FILES_${SRCNAME}-common = "${bindir}/nova-manage \ 164FILES_${SRCNAME}-common = "${bindir}/nova-manage \
160 ${bindir}/nova-rootwrap \ 165 ${bindir}/nova-rootwrap \
161 ${sysconfdir}/${SRCNAME}/* \ 166 ${sysconfdir}/${SRCNAME}/* \