You are not logged in.
I cannot find the code that turns on de_DE and en_US on in PKGBUILD. does anyone know why glibc turns them on?
"After you do enough distro research, you will choose Arch."
Offline
Because it won't build without them, or at least needs them for tests.
Offline
In fact, no locales are enabled by default.... From the glibc PKGBUILD:
sed -i "s|^|#|g" ${pkgdir}/etc/locale.gen
That comments out every single line in /etc/locale.gen...
Offline
@allan
I found that line too. but during installation process, locale-gen indeed generates de_DE en_US.
is there any package that might touch /etc/locale.gen ?
i think it is in post_install.
"After you do enough distro research, you will choose Arch."
Offline
During installation as in a clean Arch install? Which installer? I can only see en_US.UTF8 enabled:
http://projects.archlinux.org/archiso.g … locale.gen
Any further locales are added by the user during configuration.
Offline
no installer.
this is what i did
chroot_mount
pacman -Sy $packages -root $rootdir
chroot_umount
in the very end of install, it shows
Generating locale...
de_DE.UTF-8...
en_US.UTF-8..
"After you do enough distro research, you will choose Arch."
Offline
What is your chroot_mount and chroot_unmount doing? As far as I can tell, no package other than glibc runs locale-gen. And even then, glibc does not run it on first install, only when upgraded. So "pacman -Sy --root $rootdir base" does not run locale-gen at all when $rootdir is empty.
Offline
@allan
i fount it
http://projects.archlinux.org/devtools. … hroot#n224
this is stupid. could someone remove this line?
"After you do enough distro research, you will choose Arch."
Offline
File a bug report.
Offline
what is the usage of mkarchroot? maybe it is because: http://mailman.archlinux.org/pipermail/ … 07409.html
i am experimenting to write my own "archiso". the current version of archiso uses mkarchroot, which is totally not needed.
Last edited by taylorchu (2011-09-29 04:39:48)
"After you do enough distro research, you will choose Arch."
Offline
https://github.com/taylorchu/archiso/co … 07e2d6abca
https://github.com/djgera/archiso/pull/1
this will make archiso better.
-1 for devtools
"After you do enough distro research, you will choose Arch."
Offline
maybe it is because: http://mailman.archlinux.org/pipermail/ … 07409.html
That information is several years old and no longer relevant...
Offline