mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Philipp Zabel <p.zabel@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Philipp Zabel <p.zabel@pengutronix.de>
Subject: [ptxdist] [PATCH] systemd: install loadkeys and keymaps for systemd-vconsole-setup
Date: Mon,  7 Apr 2025 12:55:15 +0200	[thread overview]
Message-ID: <20250407105515.3392871-1-p.zabel@pengutronix.de> (raw)

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 <p.zabel@pengutronix.de>
---
 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	other threads:[~2025-04-07 10:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250407105515.3392871-1-p.zabel@pengutronix.de \
    --to=p.zabel@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox