skeleton: add default login port to /etc/securetty
authorTzu-Jung Lee <tjlee@ambarella.com>
Sun, 26 May 2013 10:40:25 +0000 (10:40 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 26 May 2013 21:00:30 +0000 (23:00 +0200)
commitd67b3a54af65ab4818a891458d2d59f91f239f99
treec2884c0d498a60f3459d19a2a4001444e572412d
parent8cb59e6585b6d1f87e3418418796f15dfdbdbce3
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: Tzu-Jung Lee <tjlee@ambarella.com>
Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
support/scripts/graph-depends
system/system.mk