mbox series

[0/4] Rework locale generation

Message ID 20260915093258.1818604-1-felix.moessbauer@siemens.com
Headers show
Series Rework locale generation | expand

Message

Felix Moessbauer Sept. 15, 2026, 9:32 a.m. UTC
This series reworks the locale generation to avoid the use of localepurge.

Using localepurge is problematic as this package first needs to be
installed and later removed from the rootfs again. This is time
consuming and leaves traces in the rootfs.

A comparison with diffoscope shows that the generated locales are indeed
identical.

Best regards,
Felix Moessbauer
Siemens AG

Felix Moessbauer (4):
  testsuite: add test for locale generation
  bootstrap: avoid leading space in locale config
  fix(rootfs): only set custom locale in image recipe
  rootfs: manually purge locales instead of using localepurge

 .../image-locales-extension.bbclass           | 148 ++++++++++--------
 meta/classes-recipe/rootfs.bbclass            |   7 +-
 .../isar-mmdebstrap/isar-mmdebstrap.inc       |   2 +-
 testsuite/citest.py                           |  41 +++++
 4 files changed, 129 insertions(+), 69 deletions(-)