Skip to content

Commit b913d24

Browse files
committed
debian: generate en_US.UTF-8 locale
A podman test depends on that locale so we need to make it is installed in the image, see containers/podman#19635. Signed-off-by: Paul Holzinger <[email protected]>
1 parent 0ac55b6 commit b913d24

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cache_images/debian_setup.sh

+4
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ fi
1717
# shellcheck source=./lib.sh
1818
source "$REPO_DIRPATH/lib.sh"
1919

20+
# Generate en_US.UTF-8 locale as this is required for a podman test (https://github.com/containers/podman/pull/19635).
21+
sed -i '/en_US.UTF-8/s/^#//g' /etc/locale.gen
22+
locale-gen
23+
2024
req_env_vars PACKER_BUILD_NAME
2125

2226
bash $SCRIPT_DIRPATH/debian_packaging.sh

0 commit comments

Comments
 (0)