Skip to content

Conversation

paulober
Copy link
Contributor

Proposed Commit Message

fix(debian): Fix locale generation

The current debian apply_locale implementation
depends on a modified locale-gen script that
only exists on ubuntu systems. This patch
fixes the generation of new locales
and should also work on ubuntu
with out the reliance on the custom
locale-gen patch.

Fixes GH-6471

Additional Context

#6471

Test Steps

Try setting a locale on debian 13 with the current cloud-init release. It will run without problems but not generate the selected locale because locale-gen doesn't support locale-gen <locale> but want you select the locales in /etc/locale.gen prior to the execution of this script.

Merge type

  • Squash merge using "Proposed Commit Message"
  • Rebase and merge unique commits. Requires commit messages per-commit each referencing the pull request number (#<PR_NUM>)

@tdewey-rpi

@paulober paulober marked this pull request as draft September 12, 2025 16:19
@paulober paulober marked this pull request as ready for review September 19, 2025 07:21
@blackboxsw blackboxsw self-assigned this Sep 22, 2025
@paulober paulober force-pushed the fix-debian-locales branch 2 times, most recently from d029c92 to 185bd6e Compare September 29, 2025 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants