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-09-02 13:49:27 +0200
commitff59c334a17aba08807c4f6a03e6168058ad9e31 (patch)
tree5fa755f95dc3e335097b9bfe38af00b6feb9908a
parent98c9cb929abf2704b13c889931ca9098f6ebec8f (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> (cherry picked from commit 491e249099a36c2eb7f8c0192f100265c1eae0b1)
-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 c652058..e6f0052 100644
--- a/conf/distro/include/tdx-base.inc
+++ b/conf/distro/include/tdx-base.inc
@@ -73,6 +73,7 @@ ERROR_QA:remove = "version-going-backwards"
DISTRO_FEATURES:append = " pam systemd usrmerge"
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"