From d78366a1102d91568e9412d5b847d12a3443c7c3 Mon Sep 17 00:00:00 2001 From: Devan Franchini Date: Thu, 23 Oct 2014 10:34:52 -0400 Subject: [PATCH] tools-hardened/desktop/*-run.sh: Explicitly sets locale to en_US.utf8 --- tools-hardened/desktop/fluxbox-run.sh | 2 +- tools-hardened/desktop/gnome3-run.sh | 2 +- tools-hardened/desktop/xfce4-run.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tools-hardened/desktop/fluxbox-run.sh b/tools-hardened/desktop/fluxbox-run.sh index 28bbe501..8e793cc7 100755 --- a/tools-hardened/desktop/fluxbox-run.sh +++ b/tools-hardened/desktop/fluxbox-run.sh @@ -71,7 +71,7 @@ setup_confs() { cp -a files/locale/locale.gen "${ROOTFS}"/etc/ chroot "${ROOTFS}"/ locale-gen - chroot "${ROOTFS}"/ eselect locale set 3 + chroot "${ROOTFS}"/ eselect locale set en_US.utf8 cp -a files/locale/02locale "${ROOTFS}"/etc/conf.d/ # In kernels 3.9 and above, we must disallow-other-stacks because of SO_REUSEPORT sed -i 's/^#\(disallow-other-stacks=\)no/\1yes/g' "${ROOTFS}"/etc/avahi/avahi-daemon.conf diff --git a/tools-hardened/desktop/gnome3-run.sh b/tools-hardened/desktop/gnome3-run.sh index 8b6bc734..ab782e2a 100755 --- a/tools-hardened/desktop/gnome3-run.sh +++ b/tools-hardened/desktop/gnome3-run.sh @@ -62,7 +62,7 @@ setup_confs() { cp -a files/locale/locale.gen "${ROOTFS}"/etc/ chroot "${ROOTFS}"/ locale-gen - + chroot "${ROOTFS}"/ eselect locale set en_US.utf8 cp -a files/locale/02locale "${ROOTFS}"/etc/conf.d/ # In kernels 3.9 and above, we must disallow-other-stacks because of SO_REUSEPORT sed -i 's/^#\(disallow-other-stacks=\)no/\1yes/g' "${ROOTFS}"/etc/avahi/avahi-daemon.conf diff --git a/tools-hardened/desktop/xfce4-run.sh b/tools-hardened/desktop/xfce4-run.sh index 951dab03..c8a5a17b 100755 --- a/tools-hardened/desktop/xfce4-run.sh +++ b/tools-hardened/desktop/xfce4-run.sh @@ -65,7 +65,7 @@ setup_confs() { cp -a files/locale/locale.gen "${ROOTFS}"/etc/ chroot "${ROOTFS}"/ locale-gen - chroot "${ROOTFS}"/ eselect locale set 3 + chroot "${ROOTFS}"/ eselect locale set en_US.utf8 cp -a files/locale/02locale "${ROOTFS}"/etc/conf.d/ # In kernels 3.9 and above, we must disallow-other-stacks because of SO_REUSEPORT sed -i 's/^#\(disallow-other-stacks=\)no/\1yes/g' "${ROOTFS}"/etc/avahi/avahi-daemon.conf