aboutsummaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-dbs/postgresql/postgresql_openstack.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openstack/recipes-dbs/postgresql/postgresql_openstack.inc')
-rw-r--r--meta-openstack/recipes-dbs/postgresql/postgresql_openstack.inc10
1 files changed, 5 insertions, 5 deletions
diff --git a/meta-openstack/recipes-dbs/postgresql/postgresql_openstack.inc b/meta-openstack/recipes-dbs/postgresql/postgresql_openstack.inc
index 3de5845b..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}
@@ -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 \
"