[PATCH] Dockerfile: Drop reference to locale.alias

2 views
Skip to first unread message

Jan Kiszka

unread,
Apr 15, 2026, 10:12:22 AM (4 days ago) Apr 15
to kas-devel
From: Jan Kiszka <jan.k...@siemens.com>

We are not setting a localename which is in alias in the supported
releases. At the same time, forky dropped support for alias, thus breaks
over this no longer existing alias file.

Signed-off-by: Jan Kiszka <jan.k...@siemens.com>
---
Dockerfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Dockerfile b/Dockerfile
index e798472..f5e1a81 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -48,7 +48,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=${CACHE_SHARING} \
fi && \
apt-get update && \
apt-get install -y locales && \
- localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 && \
+ localedef -i en_US -c -f UTF-8 en_US.UTF-8 && \
apt-get install --no-install-recommends -y \
python3-pip python3-setuptools python3-wheel python3-yaml python3-distro python3-jsonschema \
python3-newt python3-colorlog python3-kconfiglib python3-websockets \
--
2.47.3

MOESSBAUER, Felix

unread,
Apr 15, 2026, 11:21:31 AM (4 days ago) Apr 15
to Kiszka, Jan, kas-devel
On Wed, 2026-04-15 at 16:12 +0200, 'Jan Kiszka' via kas-devel wrote:
> From: Jan Kiszka <jan.k...@siemens.com>
>
> We are not setting a localename which is in alias in the supported
> releases. At the same time, forky dropped support for alias, thus breaks
> over this no longer existing alias file.

This is basically "kas-container: do not process locale aliases" from
my forky series.

Before rediscovering the quirks, please have a look there. This patch
here is fine, though.

Felix

>
> Signed-off-by: Jan Kiszka <jan.k...@siemens.com>
> ---
> Dockerfile | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Dockerfile b/Dockerfile
> index e798472..f5e1a81 100644
> --- a/Dockerfile
> +++ b/Dockerfile
> @@ -48,7 +48,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=${CACHE_SHARING} \
> fi && \
> apt-get update && \
> apt-get install -y locales && \
> - localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 && \
> + localedef -i en_US -c -f UTF-8 en_US.UTF-8 && \
> apt-get install --no-install-recommends -y \
> python3-pip python3-setuptools python3-wheel python3-yaml python3-distro python3-jsonschema \
> python3-newt python3-colorlog python3-kconfiglib python3-websockets \
> --
> 2.47.3
>

> --
> You received this message because you are subscribed to the Google Groups "kas-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to kas-devel+...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/kas-devel/f2d86a95-b466-4581-a622-f0cc1a0cd66b%40siemens.com.

Jan Kiszka

unread,
Apr 16, 2026, 2:42:18 AM (3 days ago) Apr 16
to Moessbauer, Felix (FT RPD CED OES-DE), kas-devel
On 15.04.26 17:21, Moessbauer, Felix (FT RPD CED OES-DE) wrote:
> On Wed, 2026-04-15 at 16:12 +0200, 'Jan Kiszka' via kas-devel wrote:
>> From: Jan Kiszka <jan.k...@siemens.com>
>>
>> We are not setting a localename which is in alias in the supported
>> releases. At the same time, forky dropped support for alias, thus breaks
>> over this no longer existing alias file.
>
> This is basically "kas-container: do not process locale aliases" from
> my forky series.
>
> Before rediscovering the quirks, please have a look there. This patch
> here is fine, though.

Sorry, forgot about that series. Will take your patch 1 instead of this
one. Patch 2 is better solved they way I did, and patch 3 is still too
early. Everyone interested in forky container at this stage can easily
produce it locally.

Jan

--
Siemens AG, Foundational Technologies
Linux Expert Center
Reply all
Reply to author
Forward
0 new messages