Enable translations for petitboot
This change adds translations for petitboot. We already have the message
catalogues for a bunch of languages, so enable building these into the
final image.
We enable these for firestone and habanero, but there's no reason we
couldn't do this for other languages too.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
diff --git a/openpower/package/petitboot/S15pb-discover b/openpower/package/petitboot/S15pb-discover
index 58472ba..8f9638c 100755
--- a/openpower/package/petitboot/S15pb-discover
+++ b/openpower/package/petitboot/S15pb-discover
@@ -16,6 +16,7 @@
start)
ulimit -c unlimited
mkdir -p $(dirname $LOGFILE)
+ export $(cat /etc/locale)
pb-discover -l $LOGFILE $verbose &
echo $! > $PIDFILE
;;