[Buildroot] How to login automatically without typing root in buildroot x86 64 QEMU?

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Aug 2 07:41:12 UTC 2016


Hello,

On Tue, 2 Aug 2016 07:24:24 +0100, Ciro Santilli wrote:

> How to configure buildroot to skip that and login directly?

Override the default /etc/inittab, and start a shell process directly
rather than a getty process. I.e, replace:

console::respawn:/sbin/getty -n -L  console 0 vt100 # GENERIC_SERIAL

by:

console::respawn:/bin/sh

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