[Buildroot] [PATCH 1/1] busybox: write commented login line in /etc/inittab when getty disabled

Matthew Weber matthew.weber at rockwellcollins.com
Fri Oct 25 20:02:24 UTC 2019


Stephen,

On Tue, Oct 1, 2019 at 8:49 AM Stephen Bos <mailist at logilin.fr> wrote:
>
> From: Stephen Bos <stephen.bos at hagergroup.com>
>
> When the "Run a getty" option is disabled, busybox doesn't remove the
> /etc/inittab line from previous builds. With this patch, the line is
> correctly commented out.
>
> Signed-off-by: Stephen Bos <stephen.bos at hagergroup.com>
> Co-authored-by: Stephen Bos <stephen.bos at hagergroup.com>
> Co-authored-by: Christophe Blaess <christophe.blaess at logilin.fr>

1) Setup a basic busybox build and verified console was setup with
getty after a full build
2) Unchecked the getty and verified it was commended out in inittab
after a rebuild
3) Enabled getty and changed tty used, rebuilt and verified tty string updated
4) Disabled getty  and verified it was commended out after a rebuild

Tested-by Matt Weber <matthew.weber at rockwellcollins.com>


More information about the buildroot mailing list