meta-digi-dey: sysvinit: No getty in inittab if console disabled.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
This commit is contained in:
Alex Gonzalez 2016-05-10 17:31:55 +02:00
parent f15d7c3e31
commit 5351b71c82
2 changed files with 7 additions and 1 deletions

View File

@ -27,7 +27,7 @@ KERNEL_DEVICETREE ?= " \
imx6dl-ccimx6sbc-id131.dtb \ imx6dl-ccimx6sbc-id131.dtb \
" "
SERIAL_CONSOLES = "115200;ttymxc3" SERIAL_CONSOLES ?= "115200;ttymxc3"
# Bluetooth tty # Bluetooth tty
BT_TTY ?= "ttymxc1" BT_TTY ?= "ttymxc1"

View File

@ -0,0 +1,6 @@
# Copyright (C) 2016 Digi International.
python __anonymous () {
if d.getVar("TRUSTFENCE_CONSOLE_DISABLE", True):
d.setVar("SERIAL_CONSOLES", "")
}