1 |
On Thu, Jun 16, 2011 at 9:00 AM, Paul Hartman |
2 |
<paul.hartman+gentoo@×××××.com> wrote: |
3 |
> On Thu, Jun 16, 2011 at 10:45 AM, Mark Knecht <markknecht@×××××.com> wrote: |
4 |
>> Is there a simple explanation concerning the difference between the |
5 |
>> two locales I have seen on Gentoo machines? |
6 |
>> |
7 |
>> 1) /etc/locale, as specified in the installation documents |
8 |
>> |
9 |
>> 2) /etc/env.d/02locale as has been discussed on the list recently |
10 |
> |
11 |
> I'm not near a Gentoo machine right now, but off the top of my head IIRC: |
12 |
> |
13 |
> /etc/locale.gen contains a list of locales to be compiled when glibc |
14 |
> is emerged. These will be available to be used. |
15 |
> |
16 |
> /etc/env.d/02locale specifies which of those locales you actually want |
17 |
> to use for the system-wide default (the LC variables) |
18 |
|
19 |
Thanks for the response Paul. |
20 |
|
21 |
Does that mean that the /etc/locale.gen is used only by glibc and not |
22 |
really by the system? If so, what is glibc doing with these beyond |
23 |
letting me system run programs? |
24 |
|
25 |
If 02locale specifies what the system is using, then should it be |
26 |
02locale that's in the install documents vs off in an optional Gentoo |
27 |
Localization guide? |
28 |
|
29 |
Note that the /etc/locale.gen stuff is marked optional in the guide so |
30 |
presumably it isn't actually needed. All I've determined about it is |
31 |
that it reduces the amount of time emerge spends buildingglibc/gcc. |
32 |
|
33 |
Thanks, |
34 |
Mark |