Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Alexander Kanavin <alexander.kanavin@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: Re: defining default locale (LANG/LC_ALL)
Date: Mon, 26 Sep 2016 15:59:53 +0300	[thread overview]
Message-ID: <ced21432-c81a-faeb-3063-cb0e9b0d2027@linux.intel.com> (raw)
In-Reply-To: <CAHiDW_Fy0fK2CEh8MAOeR0WmCPJ_=mweSzVk1FbL-RyRSoqGRw@mail.gmail.com>

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


      reply	other threads:[~2016-09-26 13:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ced21432-c81a-faeb-3063-cb0e9b0d2027@linux.intel.com \
    --to=alexander.kanavin@linux.intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox