diff options
Diffstat (limited to 'meta-openstack/recipes-dbs/postgresql')
-rw-r--r-- | meta-openstack/recipes-dbs/postgresql/postgresql_openstack.inc | 10 |
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 3de5845..f3e6665 100644 --- a/meta-openstack/recipes-dbs/postgresql/postgresql_openstack.inc +++ b/meta-openstack/recipes-dbs/postgresql/postgresql_openstack.inc | |||
@@ -1,4 +1,4 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/postgresql:" | 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/postgresql:" |
2 | 2 | ||
3 | SRC_URI += " \ | 3 | SRC_URI += " \ |
4 | file://postgresql-init \ | 4 | file://postgresql-init \ |
@@ -7,12 +7,12 @@ SRC_URI += " \ | |||
7 | 7 | ||
8 | inherit identity hosts | 8 | inherit identity hosts |
9 | 9 | ||
10 | SYSTEMD_AUTO_ENABLE_${PN} = "enable" | 10 | SYSTEMD_AUTO_ENABLE:${PN} = "enable" |
11 | 11 | ||
12 | # default | 12 | # default |
13 | DB_DATADIR ?= "/var/lib/postgres/data" | 13 | DB_DATADIR ?= "/var/lib/postgres/data" |
14 | 14 | ||
15 | do_install_append() { | 15 | do_install:append() { |
16 | D_DEST_DIR=${D}${sysconfdir}/postgresql | 16 | D_DEST_DIR=${D}${sysconfdir}/postgresql |
17 | 17 | ||
18 | install -d ${D_DEST_DIR} | 18 | install -d ${D_DEST_DIR} |
@@ -53,8 +53,8 @@ do_install_append() { | |||
53 | PACKAGES += " ${PN}-setup" | 53 | PACKAGES += " ${PN}-setup" |
54 | 54 | ||
55 | SYSTEMD_PACKAGES += "${PN}-setup" | 55 | SYSTEMD_PACKAGES += "${PN}-setup" |
56 | SYSTEMD_SERVICE_${PN}-setup = "postgresql-init.service" | 56 | SYSTEMD_SERVICE:${PN}-setup = "postgresql-init.service" |
57 | 57 | ||
58 | FILES_${PN}-setup = " \ | 58 | FILES:${PN}-setup = " \ |
59 | ${systemd_unitdir}/system \ | 59 | ${systemd_unitdir}/system \ |
60 | " | 60 | " |