Files
meta-openembedded/meta-oe/recipes-dbs/postgresql/files/postgresql-profile
Otavio Salvador 103939fecd postgresql: Allow successful run of postgresql-setup
The postgresql-setup utility log-in on postgres user to create the
database, however, the shell was set to bash and it wasn't being
installed as runtime dependency.

This rework this expectation to use busybox ash as shell and avoid the
new dependency

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-26 09:38:14 -08:00

5 lines
90 B
Plaintext

[ -f /etc/profile ] && source /etc/profile
PGDATA=/var/lib/postgresql/data
export PGDATA