From: "Antonin Godard" <antonin.godard@bootlin.com>
To: "Guénaël MULLER" <guenael.muller@smile.fr>
Cc: <quentin.schulz@cherry.de>, <docs@lists.yoctoproject.org>,
"Yoann Congal" <yoann.congal@smile.fr>
Subject: Re: [docs] [PATCH v2] ref-manual: use standardized method accross both ubuntu and debian for locale install
Date: Mon, 25 Nov 2024 09:07:43 +0100 [thread overview]
Message-ID: <D5V3TC4RJVOS.3RIVS5NR5FQAW@bootlin.com> (raw)
In-Reply-To: <CAEbF956c=1Bk_GnSc7hxg6btAjXUVxHDbyL=pZykaRQsANV1kA@mail.gmail.com>
Hi Guénaël,
On Fri Nov 22, 2024 at 10:25 AM CET, Guénaël MULLER wrote:
[...]
>> Yes, "locale --all-locales" does return "en_US.utf8" while we install the
>> "en_US.UTF-8" locale (different string, not sure why).
>>
>> I seem to be able to build with both Debian/Ubuntu with this command:
>>
>> LANG="en_US.UTF-8" locale-gen
>>
>> Maybe this is a more straightforward approach, closer to what we had
>> before.
>> What do you think? Guénaël would you be able to update your patch with this
>> command if this works for you too?
>>
>>
> How do you achieve this ? I tried this with podman container (should be the
> same with docker) and it clearly doesn't work at all:
>
> podman run -it --rm debian:12 /bin/bash
> apt update && apt install locales -y
> LANG="en_US.UTF-8" locale-gen
>
> This generates zero locale whereas "dpkg-reconfigure locales" work as
> expected.
I may have gotten the impression that this worked, but perhaps not then. The
locales were probably already generated or something... Let's keep it your way
then, and if we come up with another solution we'll update this command.
Thanks for taking the time to look into it!
Antonin
--
Antonin Godard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2024-11-25 8:07 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-18 10:45 [PATCH v2] ref-manual: use standardized method accross both ubuntu and debian for locale install Guénaël Muller
2024-11-18 11:00 ` Antonin Godard
2024-11-19 9:28 ` [docs] " Quentin Schulz
2024-11-20 16:43 ` Antonin Godard
2024-11-22 9:25 ` Guénaël MULLER
2024-11-25 8:07 ` Antonin Godard [this message]
2024-11-25 10:19 ` Quentin Schulz
2024-11-25 14:39 ` Guénaël MULLER
2024-11-27 8:34 ` Antonin Godard
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=D5V3TC4RJVOS.3RIVS5NR5FQAW@bootlin.com \
--to=antonin.godard@bootlin.com \
--cc=docs@lists.yoctoproject.org \
--cc=guenael.muller@smile.fr \
--cc=quentin.schulz@cherry.de \
--cc=yoann.congal@smile.fr \
/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