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>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Otavio Salvador
2018-11-23 09:43:19 -02:00
committed by Armin Kuster
parent d3bb421fa1
commit 9d20db53be
2 changed files with 4 additions and 4 deletions
@@ -0,0 +1,4 @@
[ -f /etc/profile ] && source /etc/profile
PGDATA=/var/lib/postgresql/data
export PGDATA