From 5f7811e53c82a0f248b0a757335bcb0ac4d0f802 Mon Sep 17 00:00:00 2001 From: Jason Wessel Date: Fri, 4 Oct 2013 14:04:25 -0500 Subject: postgresql: Fix runtime depends When using the target installer with postgresql can end up installing in the wrong order due to bad dependencies and cause the install transaction to fail as follows: ==== initdb: invalid locale name "" initdb: invalid locale name "" initdb: invalid locale name "" initdb: invalid locale name "" initdb: invalid locale name "" could not open directory "/usr/share/postgresql/timezone": No such file or directory sh: locale: command not found WARNING: enabling "trust" authentication for local connections You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb. /etc/init.d/postgresql: line 25: start-stop-daemon: command not found ==== Signed-off-by: Jason Wessel --- meta-openstack/recipes-support/postgresql/postgresql_9.2.4.bbappend | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-openstack/recipes-support/postgresql/postgresql_9.2.4.bbappend b/meta-openstack/recipes-support/postgresql/postgresql_9.2.4.bbappend index 3174e94..ecaaef0 100644 --- a/meta-openstack/recipes-support/postgresql/postgresql_9.2.4.bbappend +++ b/meta-openstack/recipes-support/postgresql/postgresql_9.2.4.bbappend @@ -26,6 +26,7 @@ do_install_append() { } +RDEPENDS_${PN} += "postgresql-timezone eglibc-utils update-rc.d" USERADD_PACKAGES = "${PN}" GROUPADD_PARAM_${PN} = "--system postgres" USERADD_PARAM_${PN} = "--system --home /var/lib/postgres -g postgres \ -- cgit v1.2.3-54-g00ecf