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 <luca.ceresoli@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit e0ff6ad7ff
)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
307abe2029
commit
5ad971ee08
@ -683,15 +683,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; \
|
||||
|
Loading…
Reference in New Issue
Block a user