From: Hongxu Jia <hongxu.jia@windriver.com>
To: <openembedded-core@lists.openembedded.org>,
<ross.burton@intel.com>, <qi.chen@gmail.com>
Subject: Re: [PATCH] glibc: apply complocaledir while localedir changed
Date: Wed, 10 Aug 2016 13:55:39 +0800 [thread overview]
Message-ID: <02413506-b758-ee7b-a882-d90adee05482@windriver.com> (raw)
In-Reply-To: <1470808191-29496-1-git-send-email-hongxu.jia@windriver.com>
On 08/10/2016 01:49 PM, Hongxu Jia wrote:
> Since localedir changed, we should apply complocaledir=/usr/lib/locale
>
> Build image with IMAGE_LINGUAS="en-us en-gb"
>
> Boot target and display all locales:
> ...
> root@localhost:~# locale -a
> C
> POSIX
> en_GB
> en_US
> ...
>
> Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
> ---
> meta/recipes-core/glibc/glibc_2.24.bb | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/meta/recipes-core/glibc/glibc_2.24.bb b/meta/recipes-core/glibc/glibc_2.24.bb
> index 88bcbef2..219370c 100644
> --- a/meta/recipes-core/glibc/glibc_2.24.bb
> +++ b/meta/recipes-core/glibc/glibc_2.24.bb
> @@ -128,9 +128,7 @@ do_compile () {
>
> }
>
> -# Use the host locale archive when built for nativesdk so that we don't need to
> -# ship a complete (100MB) locale set.
> -do_compile_prepend_class-nativesdk() {
> +do_compile_prepend() {
> echo "complocaledir=/usr/lib/locale" >> ${S}/configparms
Please drop this, It should be "complocaledir=${localedir}" better.
//Hongxu
> }
>
next prev parent reply other threads:[~2016-08-10 5:55 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-08 6:04 [PATCH 0/1] bitbake.conf: change localedir Chen Qi
2016-08-08 6:04 ` [PATCH 1/1] " Chen Qi
2016-08-10 5:49 ` [PATCH] glibc: apply complocaledir while localedir changed Hongxu Jia
2016-08-10 5:55 ` Hongxu Jia [this message]
2016-08-10 7:31 ` [PATCH V2] " Hongxu Jia
2016-08-10 8:12 ` [PATCH V3] " Hongxu Jia
2016-08-11 16:26 ` [PATCH 1/1] bitbake.conf: change localedir Burton, Ross
2016-08-11 17:11 ` Mark Hatle
2016-08-11 19:14 ` Burton, Ross
2016-08-11 19:32 ` Mark Hatle
2016-08-11 19:47 ` Khem Raj
2016-08-12 13:50 ` Mark Hatle
2016-08-12 14:30 ` Radzykewycz, T (Radzy)
2016-08-12 3:28 ` ChenQi
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=02413506-b758-ee7b-a882-d90adee05482@windriver.com \
--to=hongxu.jia@windriver.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=qi.chen@gmail.com \
--cc=ross.burton@intel.com \
/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