Openembedded Core Discussions
 help / color / mirror / Atom feed
* defining default locale (LANG/LC_ALL)
@ 2016-09-26 10:46 Steffen Sledz
  2016-09-26 11:01 ` Maciej Borzęcki
  2016-09-26 11:55 ` Jussi Kukkonen
  0 siblings, 2 replies; 5+ messages in thread
From: Steffen Sledz @ 2016-09-26 10:46 UTC (permalink / raw)
  To: openembedded-core

May be this is a FAQ, but I could not find any helpful documentation.

What is the best way to define a system wide default locale setting (LANG and LC_ALL) for OE based Angstrom style images?

Regards,
Steffen

-- 
DResearch Fahrzeugelektronik GmbH
Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
Tel: +49 30 515932-237 mailto:sledz@dresearch-fe.de
Fax: +49 30 515932-299
Geschäftsführer: Dr. Michael Weber, Werner Mögle;
Amtsgericht Berlin Charlottenburg; HRB 130120 B;
Ust.-IDNr. DE273952058


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: defining default locale (LANG/LC_ALL)
  2016-09-26 10:46 defining default locale (LANG/LC_ALL) Steffen Sledz
@ 2016-09-26 11:01 ` Maciej Borzęcki
  2016-09-26 11:13   ` Steffen Sledz
  2016-09-26 11:55 ` Jussi Kukkonen
  1 sibling, 1 reply; 5+ messages in thread
From: Maciej Borzęcki @ 2016-09-26 11:01 UTC (permalink / raw)
  To: Steffen Sledz; +Cc: openembedded-core

On Mon, Sep 26, 2016 at 12:46 PM, Steffen Sledz <sledz@dresearch-fe.de> wrote:
> May be this is a FAQ, but I could not find any helpful documentation.
>
> What is the best way to define a system wide default locale setting (LANG and LC_ALL) for OE based Angstrom style images?

Don't know about Angstrom style images, but you can always try adding
appropriate entries to /etc/environment.

Cheers,
-- 
Maciej Borzecki
RnDity


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: defining default locale (LANG/LC_ALL)
  2016-09-26 11:01 ` Maciej Borzęcki
@ 2016-09-26 11:13   ` Steffen Sledz
  0 siblings, 0 replies; 5+ messages in thread
From: Steffen Sledz @ 2016-09-26 11:13 UTC (permalink / raw)
  To: Maciej Borzęcki; +Cc: openembedded-core

On 26.09.2016 13:01, Maciej Borzęcki wrote:
> On Mon, Sep 26, 2016 at 12:46 PM, Steffen Sledz <sledz@dresearch-fe.de> wrote:
>> May be this is a FAQ, but I could not find any helpful documentation.
>>
>> What is the best way to define a system wide default locale setting (LANG and LC_ALL) for OE based Angstrom style images?
> 
> Don't know about Angstrom style images, but you can always try adding
> appropriate entries to /etc/environment.

Interesting hint.

But this file is related to the pam tooling. So it has only effect on logins and not on system services. Correct?

-- 
DResearch Fahrzeugelektronik GmbH
Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
Tel: +49 30 515932-237 mailto:sledz@dresearch-fe.de
Fax: +49 30 515932-299
Geschäftsführer: Dr. Michael Weber, Werner Mögle;
Amtsgericht Berlin Charlottenburg; HRB 130120 B;
Ust.-IDNr. DE273952058


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: defining default locale (LANG/LC_ALL)
  2016-09-26 10:46 defining default locale (LANG/LC_ALL) Steffen Sledz
  2016-09-26 11:01 ` Maciej Borzęcki
@ 2016-09-26 11:55 ` Jussi Kukkonen
  2016-09-26 12:59   ` Alexander Kanavin
  1 sibling, 1 reply; 5+ messages in thread
From: Jussi Kukkonen @ 2016-09-26 11:55 UTC (permalink / raw)
  To: Steffen Sledz; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 1092 bytes --]

On 26 September 2016 at 13:46, Steffen Sledz <sledz@dresearch-fe.de> wrote:

> May be this is a FAQ, but I could not find any helpful documentation.
>
> What is the best way to define a system wide default locale setting (LANG
> and LC_ALL) for OE based Angstrom style images?
>

systemd provides system wide locale settings through /etc/locale.conf, all
services will inherit these (note that LC_ALL is not supported). I expect
these should just work in OE.

I'm not aware of anything quite like that for non-systemd though.

Jussi



> Regards,
> Steffen
>
> --
> DResearch Fahrzeugelektronik GmbH
> Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
> Tel: +49 30 515932-237 mailto:sledz@dresearch-fe.de
> Fax: +49 30 515932-299
> Geschäftsführer: Dr. Michael Weber, Werner Mögle;
> Amtsgericht Berlin Charlottenburg; HRB 130120 B;
> Ust.-IDNr. DE273952058
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>

[-- Attachment #2: Type: text/html, Size: 2090 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: defining default locale (LANG/LC_ALL)
  2016-09-26 11:55 ` Jussi Kukkonen
@ 2016-09-26 12:59   ` Alexander Kanavin
  0 siblings, 0 replies; 5+ messages in thread
From: Alexander Kanavin @ 2016-09-26 12:59 UTC (permalink / raw)
  To: openembedded-core

On 09/26/2016 02:55 PM, Jussi Kukkonen wrote:
>
>     May be this is a FAQ, but I could not find any helpful documentation.
>
>     What is the best way to define a system wide default locale setting
>     (LANG and LC_ALL) for OE based Angstrom style images?
>
>
> systemd provides system wide locale settings through /etc/locale.conf,
> all services will inherit these (note that LC_ALL is not supported). I
> expect these should just work in OE.
>
> I'm not aware of anything quite like that for non-systemd though.

Note that LC_ALL should not be used for setting the system-wide default: 
it takes precedence over any other variable. LANG is the way to go.

Alex


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-09-26 13:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-26 10:46 defining default locale (LANG/LC_ALL) Steffen Sledz
2016-09-26 11:01 ` Maciej Borzęcki
2016-09-26 11:13   ` Steffen Sledz
2016-09-26 11:55 ` Jussi Kukkonen
2016-09-26 12:59   ` Alexander Kanavin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox