diff options
| author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2013-12-11 15:58:45 -0500 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2013-12-11 15:58:45 -0500 |
| commit | f7593d00cc6256806ac7a7eae941e5fb02306526 (patch) | |
| tree | 1106013fa49e8a58a2c69739866570b81209622e /meta-openstack/recipes-devtools/python/python-nova_git.bb | |
| parent | 4b934fe1b660757fe74aeb9e5e528c3a1631c18d (diff) | |
| download | meta-cloud-services-f7593d00cc6256806ac7a7eae941e5fb02306526.tar.gz | |
nova: add -tests package to deploy run_tests.sh on target
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-nova_git.bb')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-nova_git.bb | 5 |
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 | ||
| 112 | pkg_postinst_${SRCNAME}-setup () { | 114 | pkg_postinst_${SRCNAME}-setup () { |
| @@ -143,6 +145,7 @@ GROUPADD_PARAM_${PN} = "--system nova" | |||
| 143 | USERADD_PARAM_${PN} = "--system --home /var/lib/nova -g nova -G libvirt \ | 145 | USERADD_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 | ||
| 148 | PACKAGES += " ${SRCNAME}-tests" | ||
| 146 | PACKAGES += " ${SRCNAME}-setup ${SRCNAME}-common ${SRCNAME}-compute ${SRCNAME}-controller" | 149 | PACKAGES += " ${SRCNAME}-setup ${SRCNAME}-common ${SRCNAME}-compute ${SRCNAME}-controller" |
| 147 | PACKAGES += " ${SRCNAME}-consoleauth" | 150 | PACKAGES += " ${SRCNAME}-consoleauth" |
| 148 | PACKAGES += " ${SRCNAME}-novncproxy" | 151 | PACKAGES += " ${SRCNAME}-novncproxy" |
| @@ -156,6 +159,8 @@ ALLOW_EMPTY_${SRCNAME}-setup = "1" | |||
| 156 | 159 | ||
| 157 | FILES_${PN} = "${libdir}/*" | 160 | FILES_${PN} = "${libdir}/*" |
| 158 | 161 | ||
| 162 | FILES_${SRCNAME}-tests = "${sysconfdir}/${SRCNAME}/run_tests.sh" | ||
| 163 | |||
| 159 | FILES_${SRCNAME}-common = "${bindir}/nova-manage \ | 164 | FILES_${SRCNAME}-common = "${bindir}/nova-manage \ |
| 160 | ${bindir}/nova-rootwrap \ | 165 | ${bindir}/nova-rootwrap \ |
| 161 | ${sysconfdir}/${SRCNAME}/* \ | 166 | ${sysconfdir}/${SRCNAME}/* \ |
