aboutsummaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-support
diff options
context:
space:
mode:
authorMihai Prica <prica.mihai@gmail.com>2013-07-11 16:39:56 +0300
committerBruce Ashfield <bruce.ashfield@windriver.com>2013-08-28 18:41:58 -0400
commitdc4021fe8156004ebb8a44ca6c0645ddeab77a0f (patch)
tree5c18301ce53b71ac09d1641bf2c47451c0330974 /meta-openstack/recipes-support
parent368bd958a261ad4d08d4d9194e7088855a05cd59 (diff)
downloadmeta-cloud-services-dc4021fe8156004ebb8a44ca6c0645ddeab77a0f.tar.gz
meta-cloud-services-dc4021fe8156004ebb8a44ca6c0645ddeab77a0f.tar.bz2
meta-cloud-services-dc4021fe8156004ebb8a44ca6c0645ddeab77a0f.zip
postgresql: Added timezone info to postgresql
Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
Diffstat (limited to 'meta-openstack/recipes-support')
-rw-r--r--meta-openstack/recipes-support/postgresql/postgresql_8.4.7.bbappend1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-openstack/recipes-support/postgresql/postgresql_8.4.7.bbappend b/meta-openstack/recipes-support/postgresql/postgresql_8.4.7.bbappend
index 6f56e10..a2390e4 100644
--- a/meta-openstack/recipes-support/postgresql/postgresql_8.4.7.bbappend
+++ b/meta-openstack/recipes-support/postgresql/postgresql_8.4.7.bbappend
@@ -26,6 +26,7 @@ pkg_postinst_${PN} () {
sudo -u postgres initdb -D /etc/${PN}/
/etc/init.d/postgresql start
sudo -u postgres psql -c "CREATE ROLE admin WITH SUPERUSER LOGIN PASSWORD 'admin'"
+ ln -s /usr/share/zoneinfo /usr/share/postgresql/timezone
}
FILES_${PN} += "${localstatedir}/run/${PN}"