mkimage-profiles/features.in/tty/config.mk
Michael Shigorin ce0f4ed33c tty: use proper i-f-serial
...the one starting agetty in installer if told so (0.4+);
also improve runlevel 2 with potential serial access.
2018-10-29 12:45:49 +03:00

15 lines
385 B
Makefile

use/tty:
@$(call add_feature)
@$(call xport,TTY_DEV)
@$(call xport,TTY_RATE)
ifeq (distro,$(IMAGE_CLASS))
@$(call add,INSTALL2_PACKAGES,installer-feature-serial-stage2)
@$(call add,BASE_PACKAGES,installer-feature-serial-stage3)
endif
use/tty/S0: use/tty
@$(call add,THE_PACKAGES,agetty)
@$(call add,TTY_DEV,ttyS0)
@$(call set,TTY_RATE,115200)
@$(call add,SYSLINUX_CFG,ttyS0)