[oe] [PATCH] postgresql: Allow successful run of postgresql-setup

Otavio Salvador otavio at ossystems.com.br
Fri Nov 23 09:38:45 UTC 2018


The postgresql-setup utility log-in on postgres user to create the
database, however, the shell set to the user is bash and it wasn't
being installed as runtime dependency.

Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
---

 meta-oe/recipes-dbs/postgresql/postgresql.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-dbs/postgresql/postgresql.inc b/meta-oe/recipes-dbs/postgresql/postgresql.inc
index 3bf71f02e..5fc823898 100644
--- a/meta-oe/recipes-dbs/postgresql/postgresql.inc
+++ b/meta-oe/recipes-dbs/postgresql/postgresql.inc
@@ -231,6 +231,7 @@ FILES_${PN} += "${sysconfdir}/init.d/${BPN}-server \
        if 'pam' == d.getVar('enable_pam') \
        else ''} \
 "
+RDEPENDS_${PN} += "bash"
 
 FILES_${PN}-client = "${bindir}/clusterdb \
     ${bindir}/createdb \
-- 
2.19.1



More information about the Openembedded-devel mailing list