From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mail.openembedded.org (Postfix) with ESMTP id C940A60797 for ; Mon, 26 Sep 2016 13:01:46 +0000 (UTC) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga103.fm.intel.com with ESMTP; 26 Sep 2016 06:01:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,399,1470726000"; d="scan'208";a="173257172" Received: from kanavin-desktop.fi.intel.com (HELO [10.237.68.49]) ([10.237.68.49]) by fmsmga004.fm.intel.com with ESMTP; 26 Sep 2016 06:01:47 -0700 To: openembedded-core@lists.openembedded.org References: <9143dac0-3a7c-59a8-13f4-f97340317f70@dresearch-fe.de> From: Alexander Kanavin Message-ID: Date: Mon, 26 Sep 2016 15:59:53 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.2.0 MIME-Version: 1.0 In-Reply-To: Subject: Re: defining default locale (LANG/LC_ALL) X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Sep 2016 13:01:47 -0000 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit 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