Skip to content

Commit

Permalink
Additional packages to avoid issues with no locale set
Browse files Browse the repository at this point in the history
  • Loading branch information
bahamat committed Jul 23, 2024
1 parent 93874e4 commit a93d3e5
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 0 deletions.
2 changes: 2 additions & 0 deletions alma/helpers/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ dnf install -y --allowerasing \
dialog \
diffutils \
iputils \
langpacks-en \
glibc-langpack-en \
openssh-server \
openssh-clients \
passwd \
Expand Down
2 changes: 2 additions & 0 deletions centos-stream/helpers/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ dnf install -y --allowerasing \
dialog \
diffutils \
iputils \
langpacks-en \
glibc-langpack-en \
openssh-server \
openssh-clients \
passwd \
Expand Down
6 changes: 6 additions & 0 deletions debian/helpers/build.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ apt-get install -yq \
joe \
man-db \
net-tools \
locales \
rsync \
tzdata \
rsyslog \
iputils-ping
apt-get -qq clean
Expand Down Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions devuan/helpers/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 2 additions & 0 deletions fedora/helpers/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ dnf install -y --allowerasing \
dialog \
diffutils \
iputils \
langpacks-en \
glibc-langpack-en \
openssh-server \
openssh-clients \
passwd \
Expand Down
2 changes: 2 additions & 0 deletions rocky/helpers/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ dnf install -y --allowerasing \
dialog \
diffutils \
iputils \
langpacks-en \
glibc-langpack-en \
openssh-server \
openssh-clients \
passwd \
Expand Down

0 comments on commit a93d3e5

Please sign in to comment.