From bca134201504ca62abc6779591b4749bf30f0548 Mon Sep 17 00:00:00 2001 From: Michael Shigorin Date: Fri, 31 Mar 2017 20:53:19 +0300 Subject: [PATCH] syslinux, tty: better serial support A one-liner for syslinux and a simple installer feature change a lot in this regard! --- features.in/syslinux/cfg.in/00ttyS0.cfg | 1 + features.in/tty/config.mk | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 features.in/syslinux/cfg.in/00ttyS0.cfg diff --git a/features.in/syslinux/cfg.in/00ttyS0.cfg b/features.in/syslinux/cfg.in/00ttyS0.cfg new file mode 100644 index 00000000..a53d3291 --- /dev/null +++ b/features.in/syslinux/cfg.in/00ttyS0.cfg @@ -0,0 +1 @@ +serial 0 115200 diff --git a/features.in/tty/config.mk b/features.in/tty/config.mk index a9271673..946fff68 100644 --- a/features.in/tty/config.mk +++ b/features.in/tty/config.mk @@ -2,8 +2,10 @@ use/tty: @$(call add_feature) @$(call xport,TTY_DEV) @$(call xport,TTY_RATE) + @$(call add,BASE_PACKAGES,installer-feature-serial-stage3) 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)