mirror of
https://github.com/containers/podman.git
synced 2025-08-06 11:32:07 +08:00
cirrus setup: install en_US.UTF-8 locale
Make sure the en_US.UTF-8 locale is available so that we can use it in tests, namely "podman logs with non ASCII log tag succeeds with env". It is already there in fedora (except container image but we cannot use journald there anyway) so only do this for debian. I think it makes most sense to move this into the image build process in the future to only do it once at build time. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
@ -150,6 +150,11 @@ case "$OS_RELEASE_ID" in
|
||||
# (Checked on 2023-08-08 and it's still too old: 1.1.5)
|
||||
# FIXME: please remove this once runc >= 1.2 makes it into debian.
|
||||
modprobe tun
|
||||
|
||||
# TODO: move this into image build process
|
||||
# We need the "en_US.UTF-8" locale for the "podman logs with non ASCII log tag" tests
|
||||
sed -i '/en_US.UTF-8/s/^#//g' /etc/locale.gen
|
||||
locale-gen
|
||||
;;
|
||||
fedora)
|
||||
if ((CONTAINER==0)); then
|
||||
|
Reference in New Issue
Block a user