Skip to content

Commit

Permalink
debian: generate en_US.UTF-8 locale
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Luap99 committed Aug 17, 2023
1 parent 0ac55b6 commit b913d24
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cache_images/debian_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ fi
# shellcheck source=./lib.sh
source "$REPO_DIRPATH/lib.sh"

# Generate en_US.UTF-8 locale as this is required for a podman test (https://github.com/containers/podman/pull/19635).
sed -i '/en_US.UTF-8/s/^#//g' /etc/locale.gen
locale-gen

req_env_vars PACKER_BUILD_NAME

bash $SCRIPT_DIRPATH/debian_packaging.sh
Expand Down

0 comments on commit b913d24

Please sign in to comment.