diff options
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-heat_git.bb')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-heat_git.bb | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-heat_git.bb b/meta-openstack/recipes-devtools/python/python-heat_git.bb index c560a8b..abe3517 100644 --- a/meta-openstack/recipes-devtools/python/python-heat_git.bb +++ b/meta-openstack/recipes-devtools/python/python-heat_git.bb | |||
| @@ -61,7 +61,7 @@ do_install_append() { | |||
| 61 | fi | 61 | fi |
| 62 | } | 62 | } |
| 63 | 63 | ||
| 64 | pkg_postinst_${SRCNAME}-engine () { | 64 | pkg_postinst_${SRCNAME}-setup () { |
| 65 | if [ "x$D" != "x" ]; then | 65 | if [ "x$D" != "x" ]; then |
| 66 | exit 1 | 66 | exit 1 |
| 67 | fi | 67 | fi |
| @@ -70,7 +70,7 @@ pkg_postinst_${SRCNAME}-engine () { | |||
| 70 | if ! pidof postmaster > /dev/null; then | 70 | if ! pidof postmaster > /dev/null; then |
| 71 | /etc/init.d/postgresql-init | 71 | /etc/init.d/postgresql-init |
| 72 | /etc/init.d/postgresql start | 72 | /etc/init.d/postgresql start |
| 73 | sleep 5 | 73 | sleep 2 |
| 74 | fi | 74 | fi |
| 75 | 75 | ||
| 76 | mkdir /var/log/heat | 76 | mkdir /var/log/heat |
| @@ -81,6 +81,9 @@ pkg_postinst_${SRCNAME}-engine () { | |||
| 81 | inherit setuptools identity hosts update-rc.d | 81 | inherit setuptools identity hosts update-rc.d |
| 82 | 82 | ||
| 83 | PACKAGES += "${SRCNAME}-common ${SRCNAME}-api ${SRCNAME}-api-cfn ${SRCNAME}-engine" | 83 | PACKAGES += "${SRCNAME}-common ${SRCNAME}-api ${SRCNAME}-api-cfn ${SRCNAME}-engine" |
| 84 | PACKAGES += "${SRCNAME}-setup" | ||
| 85 | |||
| 86 | ALLOW_EMPTY_${SRCNAME}-setup = "1" | ||
| 84 | 87 | ||
| 85 | FILES_${PN} = "${libdir}/*" | 88 | FILES_${PN} = "${libdir}/*" |
| 86 | 89 | ||
| @@ -98,7 +101,6 @@ FILES_${SRCNAME}-engine = "${bindir}/heat-engine \ | |||
| 98 | ${bindir}/* \ | 101 | ${bindir}/* \ |
| 99 | ${sysconfdir}/init.d/heat-engine \ | 102 | ${sysconfdir}/init.d/heat-engine \ |
| 100 | " | 103 | " |
| 101 | |||
| 102 | RDEPENDS_${PN} += " \ | 104 | RDEPENDS_${PN} += " \ |
| 103 | python-heatclient \ | 105 | python-heatclient \ |
| 104 | python-sqlalchemy \ | 106 | python-sqlalchemy \ |
| @@ -144,7 +146,7 @@ RDEPENDS_${PN} += " \ | |||
| 144 | python-pytz \ | 146 | python-pytz \ |
| 145 | " | 147 | " |
| 146 | 148 | ||
| 147 | RDEPENDS_${SRCNAME}-engine = "${PN} ${SRCNAME}-common postgresql postgresql-client python-psycopg2 tgt" | 149 | RDEPENDS_${SRCNAME}-engine = "${PN} ${SRCNAME}-setup ${SRCNAME}-common postgresql postgresql-client python-psycopg2 tgt" |
| 148 | RDEPENDS_${SRCNAME}-api = "${SRCNAME}-engine" | 150 | RDEPENDS_${SRCNAME}-api = "${SRCNAME}-engine" |
| 149 | RDEPENDS_${SRCNAME}-api-cfn = "${SRCNAME}-engine" | 151 | RDEPENDS_${SRCNAME}-api-cfn = "${SRCNAME}-engine" |
| 150 | 152 | ||
