Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-05-23 14:18:49 +0200
committerAnton Hvornum <anton@hvornum.se>2021-05-23 14:18:49 +0200
commit7daaf1143fca2723bfb63ab4e3030485446da1c0 (patch)
tree581a69a8b1f45d1895c84f769c0280bf35517a6f /archinstall
parent84ee318521953cff46412e54d16161be12e5e7d8 (diff)
Fixes #489
Diffstat (limited to 'archinstall')
-rw-r--r--archinstall/lib/installer.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py
index b459e990..0044532f 100644
--- a/archinstall/lib/installer.py
+++ b/archinstall/lib/installer.py
@@ -1,6 +1,6 @@
from .disk import *
from .hardware import *
-from .locale_helpers import verify_x11_keyboard_layout
+from .locale_helpers import verify_keyboard_layout, verify_x11_keyboard_layout
from .mirrors import *
from .storage import storage
from .user_interaction import *
@@ -547,6 +547,8 @@ class Installer:
self.log(f"Invalid x11-keyboard language specified: {language}", fg="red", level=logging.ERROR)
return False
+ from .systemd import Boot
+
with Boot(self) as session:
session.SysCommand(["localectl", "set-x11-keymap", '""'])