Skip to content
Commit d67b3a54 authored by Tzu-Jung Lee's avatar Tzu-Jung Lee Committed by Peter Korsgaard
Browse files

skeleton: add default login port to /etc/securetty



We ran into a "Login incorrect" problem when running the same rootfs
image across platforms with different loging ports ttyS0/1/2/3.

Simply assignning "console" to BR2_TARGET_GENERIC_GETTY_PORT, which in
turn modifies the /etc/inittab, is not enough because the "console" device
was missing in the /etc/securetty.

While current securetty has enumerated a lot of ttys, this patch should save
some efforts to enumerate more.

[Peter: guard with single quotes]
Signed-off-by: default avatarTzu-Jung Lee <tjlee@ambarella.com>
Signed-off-by: default avatarSpenser Gilliland <spenser@gillilanding.com>
Acked-by: default avatarArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent 8cb59e65
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment