Consider parallel execution in locale-gen

Bug #1265126 reported by Daniel Farina
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
glibc (Ubuntu)
Confirmed
Wishlist
Unassigned

Bug Description

In cases where one wants to produce a system image with a lot of locales supported (e.g. supporting a number of collations for user selection in various programs), it's easiest to generate a ton of locales. However, locale generation is easily the slowest step of such a image/debootstrap, by a rather lot.

It looks like Arch Linux has both inherited locale-gen and decided to patch it up to support parallel execution, some speed gains, so there's some prior art here:

  https://bugs.archlinux.org/task/36955

Looks like Gentoo patched it up a couple of years ago:

  http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo/src/patchsets/glibc/extra/locale/locale-gen

Daniel Farina (drfarina)
description: updated
Daniel Farina (drfarina)
description: updated
Revision history for this message
C.Schmidbauer (csgc) wrote :

Any update on this? The code can be found on Github at the moment: https://github.com/gentoo/locale-gen

affects: langpack-locales (Ubuntu) → glibc (Ubuntu)
Changed in glibc (Ubuntu):
importance: Undecided → Wishlist
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in glibc (Ubuntu):
status: New → Confirmed
Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Unlike when this bug was originally submitted, the locales-all package is now available in Ubuntu. I can think that locales-all is the reasonable package for a case like the one in the bug description.

Maybe I'm missing something.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.