From dbdcf9637072c77861c22f1a8f727478807b4ede Mon Sep 17 00:00:00 2001 From: "rick.chan" Date: Wed, 13 May 2020 09:41:38 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=E5=B8=B8=E8=A7=81=E9=97=AE?= =?UTF-8?q?=E9=A2=98.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: rick.chan --- .../Yocto/Yocto_基本使用和常见问题.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/Software/Applications/Yocto/Yocto_基本使用和常见问题.md b/Software/Applications/Yocto/Yocto_基本使用和常见问题.md index d3b0fb5..d7af620 100644 --- a/Software/Applications/Yocto/Yocto_基本使用和常见问题.md +++ b/Software/Applications/Yocto/Yocto_基本使用和常见问题.md @@ -1,4 +1,4 @@ -# Yocto 基本使用 +# Yocto 基本使用和常见问题 ## 交叉编译配置 @@ -50,3 +50,18 @@ Kernel 配置方法为: ```sh bitbake linux-renesas -c do_menuconfig ``` + +## 常见问题 + +### Please use a locale setting which supports utf-8 + +Yocto 需要 locales 支持且设置为 UTF8。 + +```sh +# Ubuntu +sudo apt-get install locales +sudo dpkg-reconfigure locales +sudo locale-gen en_US.UTF-8 +sudo update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 +export LANG=en_US.UTF-8 +```