X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=meta-stx%2Frecipes-devtools%2Fpython%2Fpython-barbican_git.bb;h=46aae34bb0b91ad2b415a19e1051ef81f499f403;hb=628bd03632f5c07b6526622f1e6f85060ef939a7;hp=80f3fdf773ec59f8d70268ed043f7b17c93c885a;hpb=57fdea704bd62af847872c40508f00aa1d7cac60;p=pti%2Frtp.git diff --git a/meta-stx/recipes-devtools/python/python-barbican_git.bb b/meta-stx/recipes-devtools/python/python-barbican_git.bb index 80f3fdf..46aae34 100644 --- a/meta-stx/recipes-devtools/python/python-barbican_git.bb +++ b/meta-stx/recipes-devtools/python/python-barbican_git.bb @@ -88,6 +88,9 @@ do_install_append() { sed -e "s:%BARBICAN_CONF_DIR%:${sysconfdir}/${SRCNAME}:g" \ -i ${D}/${PYTHON_SITEPACKAGES_DIR}/${SRCNAME}/tests/api/test_resources_policy.py + + install -m 0755 -d ${D}/${sysconfdir}/tmpfiles.d + echo "d ${localstatedir}/log/barbican 0750 barbican barbican -" >> ${D}/${sysconfdir}/tmpfiles.d/barbican.conf } USERADD_PACKAGES = "${PN}" @@ -106,6 +109,7 @@ FILES_${SRCNAME} = "${sysconfdir}/${SRCNAME}/* \ ${bindir}/* \ ${localstatedir}/* \ ${systemd_system_unitdir} \ + ${sysconfdir}/tmpfiles.d/barbican.conf \ " ALLOW_EMPTY_${SRCNAME}-setup = "1" @@ -120,11 +124,6 @@ DEPENDS += " \ python-pip \ python-pbr-native \ " -# Stx config files -DEPENDS += " \ - openstack-barbican-api \ - " - RDEPENDS_${SRCNAME} = "${PN} \ ${SRCNAME}-setup \ @@ -146,7 +145,6 @@ RDEPENDS_${PN} += " \ python-pastedeploy \ python-paste \ python-pycrypto \ - python-pysqlite \ python-keystoneclient \ python-sqlalchemy \ python-stevedore \