[Buildroot] [git commit branch/2018.11.x] package/systemd: set vconsole support option to default y

Peter Korsgaard peter at korsgaard.com
Mon Feb 18 22:26:14 UTC 2019


commit: https://git.buildroot.net/buildroot/commit/?id=17e740380b28b7cf8cfbac73600192a7e210b0e0
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2018.11.x

Without support for vconsole, systemd will abruptly kill anything
spawned on the console, thus preventing users from loging in from
the console, effectively locking them out if the target does not
have another mean of logging in (no sshd, no serial line...)

We fix that by making support for vconsole default to y, since
logging in from the console if more frequent than not. Users can
still de-activate it when they know they don't need it.

Note that logging from a serial line is not impacted, and still
works whether vconsole is enabled or not.

Signed-off-by: David Fogle <david.j.fogle at gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
(cherry picked from commit fc0787e76ea236a5e7469df4e26c1ca61624b873)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/systemd/Config.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/systemd/Config.in b/package/systemd/Config.in
index 25f322e8f3..920b65db44 100644
--- a/package/systemd/Config.in
+++ b/package/systemd/Config.in
@@ -325,6 +325,7 @@ config BR2_PACKAGE_SYSTEMD_TMPFILES
 
 config BR2_PACKAGE_SYSTEMD_VCONSOLE
 	bool "enable vconsole tool"
+	default y
 	help
 	  systemd-vconsole-setup is an early boot service that
 	  configures the virtual console font and console keymap.


More information about the buildroot mailing list