Select KBD, KBD_LOADKEYS, and KBD_KEYMAPS to fix the
systemd-vconsole-setup.service unit. systemd-vconsole-setup
fails with exit status 1 if it can not execute loadkeys, leading
to "degraded" system state.

Signed-off-by: Philipp Zabel <[email protected]>
---
 rules/systemd.in | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/rules/systemd.in b/rules/systemd.in
index 58fb447c519e..a39397f69819 100644
--- a/rules/systemd.in
+++ b/rules/systemd.in
@@ -15,6 +15,9 @@ config SYSTEMD
        select HOST_MESON
        select HOST_GPERF
        select ROOTFS_RUN
+       select KBD              if RUNTIME && SYSTEMD_VCONSOLE
+       select KBD_LOADKEYS     if RUNTIME && SYSTEMD_VCONSOLE
+       select KBD_KEYMAPS      if RUNTIME && SYSTEMD_VCONSOLE
        select LIBC_CRYPT
        select LIBC_PTHREAD
        select LIBC_RT
-- 
2.39.5


Reply via email to