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

Otavio Salvador otavio.salvador at ossystems.com.br
Fri Nov 23 10:14:05 UTC 2018


On Fri, Nov 23, 2018 at 8:01 AM Martin Hundebøll <martin at geanix.com> wrote:
> > 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"
>
> Is bash needed or would busybox' ash be enough? If so, then changing
> USERADD_PARAM_${PN} to use /bin/sh instead would be leaner.

I will prepare a v2 doing it.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854          Mobile: +1 (347) 903-9750


More information about the Openembedded-devel mailing list