mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 05:09:24 +00:00
ref-manual: use standardized method accross both ubuntu and debian for locale install
Modify locale installation method to be standard accross all debian-based distributions. Pre-existing method is available only on Ubuntu, locale-gen tool has no parameter in Debian. (From yocto-docs rev: 057f2fbce22fc020bef7d432275e28227895e022) Signed-off-by: Guénaël Muller <guenael.muller@smile.fr> Reviewed-by: Yoann Congal <yoann.congal@smile.fr> Reviewed-by: Antonin Godard <antonin.godard@bootlin.com> Tested-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> (cherry picked from commit 30002019198a168e48537407bb928facb26af82a) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit is contained in:
committed by
Steve Sakoman
parent
bdd2eae1f5
commit
0bee34892d
@@ -160,8 +160,25 @@ with a supported Ubuntu or Debian Linux distribution::
|
||||
|
||||
$ sudo apt install &UBUNTU_HOST_PACKAGES_ESSENTIAL;
|
||||
|
||||
You also need to ensure you have the ``en_US.UTF-8`` locale enabled::
|
||||
|
||||
$ locale --all-locales | grep en_US.utf8
|
||||
|
||||
If this is not the case, you can reconfigure the ``locales`` package to add it
|
||||
(requires an interactive shell)::
|
||||
|
||||
$ sudo dpkg-reconfigure locales
|
||||
|
||||
.. note::
|
||||
|
||||
- If you are not in an interactive shell, ``dpkg-reconfigure`` will
|
||||
not work as expected. To add the locale you will need to edit
|
||||
``/etc/locale.gen`` file to add/uncomment the ``en_US.UTF-8`` locale.
|
||||
A naive way to do this as root is::
|
||||
|
||||
$ echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
|
||||
$ locale-gen
|
||||
|
||||
- If your build system has the ``oss4-dev`` package installed, you
|
||||
might experience QEMU build failures due to the package installing
|
||||
its own custom ``/usr/include/linux/soundcard.h`` on the Debian
|
||||
|
||||
Reference in New Issue
Block a user