[Buildroot] [PATCH v1 2/3] package/postgresql: needs locale command
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Mon Sep 21 08:20:13 UTC 2020
Hello,
On Sun, 20 Sep 2020 17:06:58 +0200
Peter Seiderer <ps.report at gmx.net> wrote:
> Running (as e.g. /etc/init.d/S50postgresql does):
>
> su - postgres -c '/usr/bin/pg_ctl initdb -D /var/lib/pgsql'
>
> gives the following warning:
>
> performing post-bootstrap initialization ... sh: locale: not found
> 1970-01-01 01:13:43.498 UTC [246] WARNING: no usable system locales were found
> ok
What is the situation with uClibc and musl toolchains ? Do they provide
the "locale" command as well ?
What about external glibc toolchains ? Do we install/copy the locale
tool to the target ?
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the buildroot
mailing list