From a93d3e51a787b230a691fa169ee686eca61f370d Mon Sep 17 00:00:00 2001 From: Brianna Bennett Date: Tue, 23 Jul 2024 13:07:12 -0700 Subject: [PATCH] Additional packages to avoid issues with no locale set --- alma/helpers/build.sh | 2 ++ centos-stream/helpers/build.sh | 2 ++ debian/helpers/build.sh | 6 ++++++ devuan/helpers/build.sh | 6 ++++++ fedora/helpers/build.sh | 2 ++ rocky/helpers/build.sh | 2 ++ 6 files changed, 20 insertions(+) mode change 100644 => 100755 debian/helpers/build.sh diff --git a/alma/helpers/build.sh b/alma/helpers/build.sh index 29f22f5..a37dd7a 100644 --- a/alma/helpers/build.sh +++ b/alma/helpers/build.sh @@ -10,6 +10,8 @@ dnf install -y --allowerasing \ dialog \ diffutils \ iputils \ + langpacks-en \ + glibc-langpack-en \ openssh-server \ openssh-clients \ passwd \ diff --git a/centos-stream/helpers/build.sh b/centos-stream/helpers/build.sh index a6bb94a..a5aa8bc 100644 --- a/centos-stream/helpers/build.sh +++ b/centos-stream/helpers/build.sh @@ -10,6 +10,8 @@ dnf install -y --allowerasing \ dialog \ diffutils \ iputils \ + langpacks-en \ + glibc-langpack-en \ openssh-server \ openssh-clients \ passwd \ diff --git a/debian/helpers/build.sh b/debian/helpers/build.sh old mode 100644 new mode 100755 index 5c1b239..4b082fe --- a/debian/helpers/build.sh +++ b/debian/helpers/build.sh @@ -20,6 +20,9 @@ apt-get install -yq \ joe \ man-db \ net-tools \ + locales \ + rsync \ + tzdata \ rsyslog \ iputils-ping apt-get -qq clean @@ -47,6 +50,9 @@ cp locale.conf /etc/locale.conf cp locale /etc/default/locale cp hosts /etc/hosts.lx +# Generate missing locales +locale-gen + # make sure we get fresh ssh keys on first boot /bin/rm -f -v /etc/ssh/ssh_host_*_key* cp regenerate_ssh_host_keys.service /etc/systemd/system diff --git a/devuan/helpers/build.sh b/devuan/helpers/build.sh index c10e0a3..f179b28 100755 --- a/devuan/helpers/build.sh +++ b/devuan/helpers/build.sh @@ -19,6 +19,9 @@ apt-get install -yq \ joe \ man-db \ net-tools \ + locales \ + rsync \ + tzdata \ rsyslog \ iputils-ping # Remove the elogind session manager - this will cause the alternative @@ -39,6 +42,9 @@ cp locale.conf /etc/locale.conf cp locale /etc/default/locale #cp hosts /etc/hosts.lx +# Generate missing locales +locale-gen + # make sure we get fresh ssh keys on first boot rm -fv /etc/ssh/ssh_host_*_key* cp rc.keys.ssh /etc/init.d/keys.ssh diff --git a/fedora/helpers/build.sh b/fedora/helpers/build.sh index bb58afe..e98396c 100644 --- a/fedora/helpers/build.sh +++ b/fedora/helpers/build.sh @@ -10,6 +10,8 @@ dnf install -y --allowerasing \ dialog \ diffutils \ iputils \ + langpacks-en \ + glibc-langpack-en \ openssh-server \ openssh-clients \ passwd \ diff --git a/rocky/helpers/build.sh b/rocky/helpers/build.sh index d5d3ea5..b39b9fc 100644 --- a/rocky/helpers/build.sh +++ b/rocky/helpers/build.sh @@ -10,6 +10,8 @@ dnf install -y --allowerasing \ dialog \ diffutils \ iputils \ + langpacks-en \ + glibc-langpack-en \ openssh-server \ openssh-clients \ passwd \