[OE-core] [PATCH 1/4] scripts/postinst-intercepts: add update_info_dir
Hongxu Jia
hongxu.jia at windriver.com
Wed Sep 24 15:08:42 UTC 2014
On 09/24/2014 10:52 PM, Burton, Ross wrote:
> On 24 September 2014 12:38, Hongxu Jia <hongxu.jia at windriver.com> wrote:
>> +# since user's environment is taken over into root account when sudo-ing
>> +# we don't want that one's user LANGUAGE setting changes the messages in
>> +# the dir file. Unset LANGUAGE and reload /etc/environment to get
>> +# the system wide settings. See bug #536476
>> +unset LANGUAGE
>> +unset LANG
>> +if [ -r /etc/environment ] ; then
>> + . /etc/environment
>> +fi
>> +if [ -r /etc/default/locale ] ; then
>> + . /etc/default/locale
>> +fi
> Isn't this Debian-specific, and also pushing the build host's
> environment settings onto the target? We should use whatever default
> locale is configured for the image, or easier just force it to C.
Okay, I will just force it to C.
//Hongxu
> Ross
More information about the Openembedded-core
mailing list