summaryrefslogtreecommitdiffstats
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 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 @@
1FILESEXTRAPATHS_prepend := "${THISDIR}/postgresql:" 1FILESEXTRAPATHS:prepend := "${THISDIR}/postgresql:"
2 2
3SRC_URI += " \ 3SRC_URI += " \
4 file://postgresql-init \ 4 file://postgresql-init \
@@ -7,12 +7,12 @@ SRC_URI += " \
7 7
8inherit identity hosts 8inherit identity hosts
9 9
10SYSTEMD_AUTO_ENABLE_${PN} = "enable" 10SYSTEMD_AUTO_ENABLE:${PN} = "enable"
11 11
12# default 12# default
13DB_DATADIR ?= "/var/lib/postgres/data" 13DB_DATADIR ?= "/var/lib/postgres/data"
14 14
15do_install_append() { 15do_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() {
53PACKAGES += " ${PN}-setup" 53PACKAGES += " ${PN}-setup"
54 54
55SYSTEMD_PACKAGES += "${PN}-setup" 55SYSTEMD_PACKAGES += "${PN}-setup"
56SYSTEMD_SERVICE_${PN}-setup = "postgresql-init.service" 56SYSTEMD_SERVICE:${PN}-setup = "postgresql-init.service"
57 57
58FILES_${PN}-setup = " \ 58FILES:${PN}-setup = " \
59 ${systemd_unitdir}/system \ 59 ${systemd_unitdir}/system \
60" 60"