Commit b155e85
committed
base_image: restore locales-all installation for Debian Trixie
The virt-customize phase was failing with "update-locale: Error: invalid
locale settings" because commit 6bb3bfb removed the locales-all
package installation but left the locale configuration commands that
depend on it.
The update-locale command validates all settings in /etc/default/locale,
and without locales-all providing the necessary locale infrastructure, it
rejects the LANGUAGE=en_US:en setting as invalid during image build.
Restore the locales-all installation within the Debian Trixie conditional
block, placing it immediately before the locale configuration sequence so
the image has proper locale support from the start. This prevents SSH
locale warnings on first boot while keeping the package Debian-specific.
Generated-by: Claude AI
Signed-off-by: Daniel Gomez <[email protected]>1 parent f4ee14a commit b155e85
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
76 | 77 | | |
77 | 78 | | |
78 | 79 | | |
| |||
0 commit comments