From ff59c334a17aba08807c4f6a03e6168058ad9e31 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Tue, 29 Aug 2023 16:10:09 +0200 Subject: 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 (cherry picked from commit 491e249099a36c2eb7f8c0192f100265c1eae0b1) --- conf/distro/include/tdx-base.inc | 1 + 1 file changed, 1 insertion(+) 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" -- cgit v1.2.3