diff options
-rw-r--r-- | meta-oe/recipes-dbs/postgresql/files/postgresql-profile (renamed from meta-oe/recipes-dbs/postgresql/files/postgresql-bashprofile) | 0 | ||||
-rw-r--r-- | meta-oe/recipes-dbs/postgresql/postgresql.inc | 8 |
2 files changed, 4 insertions, 4 deletions
diff --git a/meta-oe/recipes-dbs/postgresql/files/postgresql-bashprofile b/meta-oe/recipes-dbs/postgresql/files/postgresql-profile index 1c931f37f..1c931f37f 100644 --- a/meta-oe/recipes-dbs/postgresql/files/postgresql-bashprofile +++ b/meta-oe/recipes-dbs/postgresql/files/postgresql-profile | |||
diff --git a/meta-oe/recipes-dbs/postgresql/postgresql.inc b/meta-oe/recipes-dbs/postgresql/postgresql.inc index 3bf71f02e..dc8522454 100644 --- a/meta-oe/recipes-dbs/postgresql/postgresql.inc +++ b/meta-oe/recipes-dbs/postgresql/postgresql.inc | |||
@@ -25,7 +25,7 @@ ARM_INSTRUCTION_SET = "arm" | |||
25 | 25 | ||
26 | SRC_URI = "http://ftp.postgresql.org/pub/source/v${PV}/${BP}.tar.bz2 \ | 26 | SRC_URI = "http://ftp.postgresql.org/pub/source/v${PV}/${BP}.tar.bz2 \ |
27 | file://postgresql.init \ | 27 | file://postgresql.init \ |
28 | file://postgresql-bashprofile \ | 28 | file://postgresql-profile \ |
29 | file://postgresql.pam \ | 29 | file://postgresql.pam \ |
30 | file://postgresql-setup \ | 30 | file://postgresql-setup \ |
31 | file://postgresql.service \ | 31 | file://postgresql.service \ |
@@ -155,7 +155,7 @@ usernum = "28" | |||
155 | groupnum = "28" | 155 | groupnum = "28" |
156 | USERADD_PACKAGES = "${PN}" | 156 | USERADD_PACKAGES = "${PN}" |
157 | USERADD_PARAM_${PN} = "-M -g postgres -o -r -d ${localstatedir}/lib/${BPN} \ | 157 | USERADD_PARAM_${PN} = "-M -g postgres -o -r -d ${localstatedir}/lib/${BPN} \ |
158 | -s /bin/bash -c 'PostgreSQL Server' -u ${usernum} postgres" | 158 | -s /bin/sh -c 'PostgreSQL Server' -u ${usernum} postgres" |
159 | GROUPADD_PARAM_${PN} = "-g ${groupnum} -o -r postgres" | 159 | GROUPADD_PARAM_${PN} = "-g ${groupnum} -o -r postgres" |
160 | 160 | ||
161 | INITSCRIPT_PACKAGES = "${PN}" | 161 | INITSCRIPT_PACKAGES = "${PN}" |
@@ -182,7 +182,7 @@ do_install_append() { | |||
182 | install -m 0755 ${WORKDIR}/${BPN}-setup ${D}${bindir}/${BPN}-setup | 182 | install -m 0755 ${WORKDIR}/${BPN}-setup ${D}${bindir}/${BPN}-setup |
183 | install -d -m 700 ${D}${localstatedir}/lib/${BPN}/data | 183 | install -d -m 700 ${D}${localstatedir}/lib/${BPN}/data |
184 | install -d -m 700 ${D}${localstatedir}/lib/${BPN}/backups | 184 | install -d -m 700 ${D}${localstatedir}/lib/${BPN}/backups |
185 | install -m 644 ${WORKDIR}/${BPN}-bashprofile ${D}${localstatedir}/lib/${BPN}/.bash_profile | 185 | install -m 644 ${WORKDIR}/${BPN}-profile ${D}${localstatedir}/lib/${BPN}/.profile |
186 | chown -R postgres:postgres ${D}${localstatedir}/lib/${BPN} | 186 | chown -R postgres:postgres ${D}${localstatedir}/lib/${BPN} |
187 | # multiple server config directory | 187 | # multiple server config directory |
188 | install -d -m 700 ${D}${sysconfdir}/default/${BPN} | 188 | install -d -m 700 ${D}${sysconfdir}/default/${BPN} |
@@ -222,7 +222,7 @@ RPROVIDES_${PN}-dbg += "libecpg-compat-dbg \ | |||
222 | 222 | ||
223 | FILES_${PN} += "${sysconfdir}/init.d/${BPN}-server \ | 223 | FILES_${PN} += "${sysconfdir}/init.d/${BPN}-server \ |
224 | ${localstatedir}/lib/${BPN}/data ${localstatedir}/lib/${BPN}/backups \ | 224 | ${localstatedir}/lib/${BPN}/data ${localstatedir}/lib/${BPN}/backups \ |
225 | ${localstatedir}/lib/${BPN}/.bash_profile ${sysconfdir}/default/${BPN} \ | 225 | ${localstatedir}/lib/${BPN}/.profile ${sysconfdir}/default/${BPN} \ |
226 | ${libdir}/${BPN}/dict_snowball.so ${libdir}/${BPN}/plpgsql.so \ | 226 | ${libdir}/${BPN}/dict_snowball.so ${libdir}/${BPN}/plpgsql.so \ |
227 | ${libdir}/${BPN}/euc2004_sjis2004.so \ | 227 | ${libdir}/${BPN}/euc2004_sjis2004.so \ |
228 | ${libdir}/${BPN}/libpqwalreceiver.so \ | 228 | ${libdir}/${BPN}/libpqwalreceiver.so \ |