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

Carlos Santos unixmania at gmail.com
Fri Oct 25 20:17:39 UTC 2019


On Fri, Oct 25, 2019 at 5:02 PM Matthew Weber <matthew.weber at collins.com> wrote:
>
> 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>

I like the idea but a corresponding change should be made to sysvinit.

-- 
Carlos Santos <unixmania at gmail.com>



More information about the buildroot mailing list