diff options
Diffstat (limited to 'meta-openstack/recipes-dbs/postgresql/postgresql_openstack.inc')
-rw-r--r-- | meta-openstack/recipes-dbs/postgresql/postgresql_openstack.inc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/meta-openstack/recipes-dbs/postgresql/postgresql_openstack.inc b/meta-openstack/recipes-dbs/postgresql/postgresql_openstack.inc index b6a9c3c2..f3e66652 100644 --- a/meta-openstack/recipes-dbs/postgresql/postgresql_openstack.inc +++ b/meta-openstack/recipes-dbs/postgresql/postgresql_openstack.inc @@ -1,4 +1,4 @@ -FILESEXTRAPATHS_prepend := "${THISDIR}/postgresql:" +FILESEXTRAPATHS:prepend := "${THISDIR}/postgresql:" SRC_URI += " \ file://postgresql-init \ @@ -7,12 +7,12 @@ SRC_URI += " \ inherit identity hosts -SYSTEMD_AUTO_ENABLE_${PN} = "enable" +SYSTEMD_AUTO_ENABLE:${PN} = "enable" # default DB_DATADIR ?= "/var/lib/postgres/data" -do_install_append() { +do_install:append() { D_DEST_DIR=${D}${sysconfdir}/postgresql install -d ${D_DEST_DIR} @@ -35,7 +35,7 @@ do_install_append() { sed -e "s:%SYSCONFIGDIR%:${sysconfdir}:g" -i ${PG_INIT_SERVICE_FILE} # Update PGDATA throughout - files="${D}${localstatedir}/lib/${BPN}/.bash_profile" + files="${D}${localstatedir}/lib/${BPN}/.profile" files="$files ${D}${systemd_unitdir}/system/postgresql.service" files="$files ${D}${bindir}/${BPN}-setup" files="$files ${D}${sysconfdir}/init.d/${BPN}-server" @@ -53,8 +53,8 @@ do_install_append() { PACKAGES += " ${PN}-setup" SYSTEMD_PACKAGES += "${PN}-setup" -SYSTEMD_SERVICE_${PN}-setup = "postgresql-init.service" +SYSTEMD_SERVICE:${PN}-setup = "postgresql-init.service" -FILES_${PN}-setup = " \ +FILES:${PN}-setup = " \ ${systemd_unitdir}/system \ " |