diff options
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-keystone_git.bb')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-keystone_git.bb | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-keystone_git.bb b/meta-openstack/recipes-devtools/python/python-keystone_git.bb index dbc76d8..c2a9b04 100644 --- a/meta-openstack/recipes-devtools/python/python-keystone_git.bb +++ b/meta-openstack/recipes-devtools/python/python-keystone_git.bb | |||
| @@ -48,6 +48,8 @@ do_install_append() { | |||
| 48 | install -d ${D}${sysconfdir}/init.d | 48 | install -d ${D}${sysconfdir}/init.d |
| 49 | install -m 0755 ${WORKDIR}/keystone ${D}${sysconfdir}/init.d/keystone | 49 | install -m 0755 ${WORKDIR}/keystone ${D}${sysconfdir}/init.d/keystone |
| 50 | fi | 50 | fi |
| 51 | |||
| 52 | cp run_tests.sh ${KEYSTONE_CONF_DIR} | ||
| 51 | } | 53 | } |
| 52 | 54 | ||
| 53 | pkg_postinst_${SRCNAME}-setup () { | 55 | pkg_postinst_${SRCNAME}-setup () { |
| @@ -79,19 +81,22 @@ pkg_postinst_${SRCNAME}-setup () { | |||
| 79 | # end python-keystone postinst | 81 | # end python-keystone postinst |
| 80 | } | 82 | } |
| 81 | 83 | ||
| 82 | PACKAGES += " ${SRCNAME} ${SRCNAME}-setup" | 84 | PACKAGES += " ${SRCNAME}-tests ${SRCNAME} ${SRCNAME}-setup" |
| 83 | 85 | ||
| 84 | ALLOW_EMPTY_${SRCNAME}-setup = "1" | 86 | ALLOW_EMPTY_${SRCNAME}-setup = "1" |
| 85 | 87 | ||
| 86 | FILES_${PN} = "${libdir}/*" | 88 | FILES_${PN} = "${libdir}/*" |
| 87 | 89 | ||
| 90 | FILES_${SRCNAME}-tests = "${sysconfdir}/${SRCNAME}/run_tests.sh" | ||
| 91 | |||
| 88 | FILES_${SRCNAME} = "${bindir}/* \ | 92 | FILES_${SRCNAME} = "${bindir}/* \ |
| 89 | ${sysconfdir}/${SRCNAME}/* \ | 93 | ${sysconfdir}/${SRCNAME}/* \ |
| 90 | ${sysconfdir}/init.d/* \ | 94 | ${sysconfdir}/init.d/* \ |
| 91 | ${localstatedir}/* \ | 95 | ${localstatedir}/* \ |
| 92 | " | 96 | " |
| 93 | 97 | ||
| 94 | RDEPENDS_${PN} += "python-pam \ | 98 | RDEPENDS_${PN} += " \ |
| 99 | python-pam \ | ||
| 95 | python-webob \ | 100 | python-webob \ |
| 96 | python-eventlet \ | 101 | python-eventlet \ |
| 97 | python-greenlet \ | 102 | python-greenlet \ |
| @@ -109,6 +114,9 @@ RDEPENDS_${PN} += "python-pam \ | |||
| 109 | python-dogpile.cache \ | 114 | python-dogpile.cache \ |
| 110 | " | 115 | " |
| 111 | 116 | ||
| 117 | # TODO: | ||
| 118 | # if DISTRO_FEATURE contains "tempest" then add *-tests to the main RDEPENDS | ||
| 119 | |||
| 112 | RDEPENDS_${SRCNAME} = "${PN} postgresql postgresql-client python-psycopg2" | 120 | RDEPENDS_${SRCNAME} = "${PN} postgresql postgresql-client python-psycopg2" |
| 113 | 121 | ||
| 114 | INITSCRIPT_PACKAGES = "${SRCNAME}" | 122 | INITSCRIPT_PACKAGES = "${SRCNAME}" |
