summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/postgresql/postgresql.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-support/postgresql/postgresql.inc')
-rw-r--r--meta-oe/recipes-support/postgresql/postgresql.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/postgresql/postgresql.inc b/meta-oe/recipes-support/postgresql/postgresql.inc
index a9b4a012c..774c8fd0c 100644
--- a/meta-oe/recipes-support/postgresql/postgresql.inc
+++ b/meta-oe/recipes-support/postgresql/postgresql.inc
@@ -29,6 +29,7 @@ SRC_URI = "http://ftp.postgresql.org/pub/source/v${PV}/${BP}.tar.bz2 \
29 file://postgresql-bashprofile \ 29 file://postgresql-bashprofile \
30 file://postgresql.pam \ 30 file://postgresql.pam \
31 file://0001-Use-pkg-config-for-libxml2-detection.patch \ 31 file://0001-Use-pkg-config-for-libxml2-detection.patch \
32 file://postgresql-setup \
32" 33"
33 34
34LEAD_SONAME = "libpq.so" 35LEAD_SONAME = "libpq.so"
@@ -171,6 +172,7 @@ do_install_append() {
171 install -d ${D}${sysconfdir}/init.d 172 install -d ${D}${sysconfdir}/init.d
172 install -m 0755 ${WORKDIR}/${BPN}.init ${D}${sysconfdir}/init.d/${BPN}-server 173 install -m 0755 ${WORKDIR}/${BPN}.init ${D}${sysconfdir}/init.d/${BPN}-server
173 sed -i -e "s/^PGVERSION=.*$/PGVERSION=${PV}/g" ${D}${sysconfdir}/init.d/${BPN}-server 174 sed -i -e "s/^PGVERSION=.*$/PGVERSION=${PV}/g" ${D}${sysconfdir}/init.d/${BPN}-server
175 install -m 0755 ${WORKDIR}/${BPN}-setup ${D}${bindir}/${BPN}-setup
174 install -d -m 700 ${D}${localstatedir}/lib/${BPN}/data 176 install -d -m 700 ${D}${localstatedir}/lib/${BPN}/data
175 install -d -m 700 ${D}${localstatedir}/lib/${BPN}/backups 177 install -d -m 700 ${D}${localstatedir}/lib/${BPN}/backups
176 install -m 644 ${WORKDIR}/${BPN}-bashprofile ${D}${localstatedir}/lib/${BPN}/.bash_profile 178 install -m 644 ${WORKDIR}/${BPN}-bashprofile ${D}${localstatedir}/lib/${BPN}/.bash_profile