diff options
| author | Mihai Prica <prica.mihai@gmail.com> | 2013-07-11 16:39:56 +0300 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2013-08-28 18:41:58 -0400 |
| commit | dc4021fe8156004ebb8a44ca6c0645ddeab77a0f (patch) | |
| tree | 5c18301ce53b71ac09d1641bf2c47451c0330974 | |
| parent | 368bd958a261ad4d08d4d9194e7088855a05cd59 (diff) | |
| download | meta-cloud-services-dc4021fe8156004ebb8a44ca6c0645ddeab77a0f.tar.gz | |
postgresql: Added timezone info to postgresql
Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
| -rw-r--r-- | meta-openstack/recipes-support/postgresql/postgresql_8.4.7.bbappend | 1 |
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} () { | |||
| 26 | sudo -u postgres initdb -D /etc/${PN}/ | 26 | sudo -u postgres initdb -D /etc/${PN}/ |
| 27 | /etc/init.d/postgresql start | 27 | /etc/init.d/postgresql start |
| 28 | sudo -u postgres psql -c "CREATE ROLE admin WITH SUPERUSER LOGIN PASSWORD 'admin'" | 28 | sudo -u postgres psql -c "CREATE ROLE admin WITH SUPERUSER LOGIN PASSWORD 'admin'" |
| 29 | ln -s /usr/share/zoneinfo /usr/share/postgresql/timezone | ||
| 29 | } | 30 | } |
| 30 | 31 | ||
| 31 | FILES_${PN} += "${localstatedir}/run/${PN}" | 32 | FILES_${PN} += "${localstatedir}/run/${PN}" |
