[Buildroot] [PATCH] system: add "askfirst shell" as an option for busybox init

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Dec 17 16:08:26 UTC 2014


Dear Alexey Brodkin,

On Wed, 17 Dec 2014 15:50:16 +0000, Alexey Brodkin wrote:

> Right it was too obvious.
> 
> So looks like this is a replacement for my patch:
> --->---
> BR2_TARGET_GENERIC_GETTY_PORT=console
> BR2_TARGET_GENERIC_GETTY_BAUDRATE_KEEP=y
> --->---

Yes. Does it work? :-)

> Then the question is why this is not a default in Buildroot?
> IMHO most of the time kernel's bootcmd has console set so explicit setup
> of tty in Buildroot might be required in some corner cases only.

I agree, maybe we should make this the default. What happens on
PC-style platforms? Is console= typically set to tty1 ?

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list