diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2016-08-08 13:55:42 +0800 |
---|---|---|
committer | Chen Qi <Qi.Chen@windriver.com> | 2016-08-08 14:02:13 +0800 |
commit | 8374cee610f770f4e027f92785bc0bed13334fbb (patch) | |
tree | 6a7d971982e4ac1046fe66b595e234cd8522e1fa | |
parent | c4dda05cb9755cb865c1d1bd142196f8a9f45d3d (diff) | |
download | openembedded-core-contrib-8374cee610f770f4e027f92785bc0bed13334fbb.tar.gz |
bitbake.conf: change localedirChenQi/locale-fix
Previously, localedir is set to "${libdir}/locale". This would result
in locale database installed in '/usr/lib64/locale' in some multilib case.
For example, if we build out a multilib x86-64 self-hosted image and we try
to build projects on this host, things broke and the following error appears.
Please use a locale setting which supports utf-8.
Python can't change the filesystem locale after loading so we need a utf-8 when python starts or things won't work.
This is because '/usr/lib/locale' is the default one. And actually the
nativesdk-glibc is now set to use '/usr/lib/locale'.
Thus, we change the setting of 'localedir' to '${nonarch_libdir}/locale' to
fix the above problem.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
-rw-r--r-- | meta/conf/bitbake.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index c32a3f8a66..ed77ee3102 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -44,7 +44,7 @@ export libdir = "${exec_prefix}/${baselib}" export libexecdir = "${exec_prefix}/libexec" export includedir = "${exec_prefix}/include" export oldincludedir = "${exec_prefix}/include" -localedir = "${libdir}/locale" +localedir = "${nonarch_libdir}/locale" # Linkage between native/cross/nativesdk layouts base_bindir_native = "/bin" |