From 15714ebb86650585a9bd1d0eaf30941579e3020f Mon Sep 17 00:00:00 2001 From: Philipp Schaffrath Date: Sat, 30 Jan 2021 23:28:35 +0100 Subject: don't pass encoding in locale argument, it is appended separately in set_locale --- archinstall/lib/installer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py index fb9e9724..4fb6b706 100644 --- a/archinstall/lib/installer.py +++ b/archinstall/lib/installer.py @@ -284,7 +284,7 @@ class Installer(): #sys_command(f'/usr/bin/arch-chroot {self.mountpoint} ln -s /usr/share/zoneinfo/{localtime} /etc/localtime') #sys_command('/usr/bin/arch-chroot /mnt hwclock --hctosys --localtime') self.set_hostname() - self.set_locale('en_US.UTF-8') + self.set_locale('en_US') # TODO: Use python functions for this sys_command(f'/usr/bin/arch-chroot {self.mountpoint} chmod 700 /root') -- cgit v1.2.3-70-g09d2