summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2023-08-29 16:10:09 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2023-08-29 16:10:38 +0200
commit491e249099a36c2eb7f8c0192f100265c1eae0b1 (patch)
treeebe5b9febb176fdf524b1ffd5ea953b51128ae36
parent34b8e4bbf4b4f0968fbdd9f5da9b5e0f0015e650 (diff)
distro: systemd: use systemd's serial-getty-generator
On Verdin AM62 SERIAL_CONSOLES is set to multiple ttys. In the old setup this spawned a getty on each of them. Using systemd's serial-getty-generator this behaviour is changed to only spawn a getty on the ttys which are also present in /proc/consoles. Other entries in SERIAL_CONSOLES are left alone and are free for generic use. Related-to: ELB-5346 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
-rw-r--r--conf/distro/include/tdx-base.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/conf/distro/include/tdx-base.inc b/conf/distro/include/tdx-base.inc
index 7abb441..0d67e6d 100644
--- a/conf/distro/include/tdx-base.inc
+++ b/conf/distro/include/tdx-base.inc
@@ -74,6 +74,7 @@ ERROR_QA:remove = "version-going-backwards"
DISTRO_FEATURES:append = " pam systemd"
DISTRO_FEATURES:remove = "sysvinit ptest"
VIRTUAL-RUNTIME_init_manager = "systemd"
+PACKAGECONFIG:append:pn-systemd = " serial-getty-generator"
PACKAGECONFIG:append:pn-qemu-native = " libusb"
PREFERRED_PROVIDER_u-boot-fw-utils = "libubootenv"