From: Hongxu Jia <hongxu.jia@windriver.com>
To: <openembedded-core@lists.openembedded.org>,
<ross.burton@intel.com>, <qi.chen@windriver.com>
Subject: [PATCH V2] glibc: apply complocaledir while localedir changed
Date: Wed, 10 Aug 2016 15:31:20 +0800 [thread overview]
Message-ID: <1470814280-4269-1-git-send-email-hongxu.jia@windriver.com> (raw)
In-Reply-To: <8374cee610f770f4e027f92785bc0bed13334fbb.1470636212.git.Qi.Chen@windriver.com>
Since localedir changed, we should apply complocaledir=${localedir}
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 | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/meta/recipes-core/glibc/glibc_2.24.bb b/meta/recipes-core/glibc/glibc_2.24.bb
index 88bcbef2..2f0c4be 100644
--- a/meta/recipes-core/glibc/glibc_2.24.bb
+++ b/meta/recipes-core/glibc/glibc_2.24.bb
@@ -128,10 +128,8 @@ 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() {
- echo "complocaledir=/usr/lib/locale" >> ${S}/configparms
+do_compile_prepend() {
+ echo "complocaledir=${localedir}" >> ${S}/configparms
}
require glibc-package.inc
--
2.8.1
next prev parent reply other threads:[~2016-08-10 7:31 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
2016-08-10 7:31 ` Hongxu Jia [this message]
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=1470814280-4269-1-git-send-email-hongxu.jia@windriver.com \
--to=hongxu.jia@windriver.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=qi.chen@windriver.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