From e0ff6ad7ff6fb5c4643314b9e029f81cc3b07762 Mon Sep 17 00:00:00 2001 From: Luca Ceresoli Date: Thu, 3 Aug 2023 09:37:04 +0200 Subject: [PATCH] package/systemd: fix wrong variable name in comment There is no such thing as a BR2_TARGET_GENERIC_TTY_PATH variable. The comment here should mention BR2_TARGET_GENERIC_GETTY_PORT instead. Signed-off-by: Luca Ceresoli Signed-off-by: Yann E. MORIN --- package/systemd/systemd.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index f330b9d2b2..d220673572 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -676,15 +676,15 @@ ifneq ($(call qstrip,$(BR2_TARGET_GENERIC_GETTY_PORT)),) # Systemd defaults to enabling getty@tty1.service # # What we want to do -# * Enable a getty on $BR2_TARGET_GENERIC_TTY_PATH +# * Enable a getty on $BR2_TARGET_GENERIC_GETTY_PORT # * Set the baudrate for all units according to BR2_TARGET_GENERIC_GETTY_BAUDRATE # * Always enable a getty on the console using systemd-getty-generator # (backward compatibility with previous releases of buildroot) # # What we do # * disable getty@tty1 (enabled by upstream systemd) -# * enable getty@xxx if $BR2_TARGET_GENERIC_TTY_PATH is a tty -# * enable serial-getty@xxx for other $BR2_TARGET_GENERIC_TTY_PATH +# * enable getty@xxx if $BR2_TARGET_GENERIC_GETTY_PORT is a tty +# * enable serial-getty@xxx for other $BR2_TARGET_GENERIC_GETTY_PORT # * rewrite baudrates if a baudrate is provided define SYSTEMD_INSTALL_SERVICE_TTY mkdir -p $(TARGET_DIR)/usr/lib/systemd/system/getty@.service.d; \