summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-keystone_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-keystone_git.bb')
-rw-r--r--meta-openstack/recipes-devtools/python/python-keystone_git.bb12
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
53pkg_postinst_${SRCNAME}-setup () { 55pkg_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
82PACKAGES += " ${SRCNAME} ${SRCNAME}-setup" 84PACKAGES += " ${SRCNAME}-tests ${SRCNAME} ${SRCNAME}-setup"
83 85
84ALLOW_EMPTY_${SRCNAME}-setup = "1" 86ALLOW_EMPTY_${SRCNAME}-setup = "1"
85 87
86FILES_${PN} = "${libdir}/*" 88FILES_${PN} = "${libdir}/*"
87 89
90FILES_${SRCNAME}-tests = "${sysconfdir}/${SRCNAME}/run_tests.sh"
91
88FILES_${SRCNAME} = "${bindir}/* \ 92FILES_${SRCNAME} = "${bindir}/* \
89 ${sysconfdir}/${SRCNAME}/* \ 93 ${sysconfdir}/${SRCNAME}/* \
90 ${sysconfdir}/init.d/* \ 94 ${sysconfdir}/init.d/* \
91 ${localstatedir}/* \ 95 ${localstatedir}/* \
92 " 96 "
93 97
94RDEPENDS_${PN} += "python-pam \ 98RDEPENDS_${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
112RDEPENDS_${SRCNAME} = "${PN} postgresql postgresql-client python-psycopg2" 120RDEPENDS_${SRCNAME} = "${PN} postgresql postgresql-client python-psycopg2"
113 121
114INITSCRIPT_PACKAGES = "${SRCNAME}" 122INITSCRIPT_PACKAGES = "${SRCNAME}"