[OE-core] [PATCH] Introduce new SERIAL_CONSOLES to add multiple consoles for your MACHINE

Phil Blundell philb at gnu.org
Fri Nov 4 21:15:01 UTC 2011


On Fri, 2011-11-04 at 16:07 -0500, Matthew McClintock wrote:
> +    idx=0
> +    tmp="${SERIAL_CONSOLES}"
> +    for i in $tmp
> +    do
> +	j=`echo ${i} | sed s/\;/\ /g`
> +        echo "${idx}:2345:respawn:${base_sbindir}/getty ${j}" >> ${D}${sysconfdir}/inittab
> +	idx=`expr $idx + 1`
> +    done
> +
>      if [ "${USE_VT}" = "1" ]; then
>          cat <<EOF >>${D}${sysconfdir}/inittab
>  # ${base_sbindir}/getty invocations for the runlevels.

That looks like it will lose if ${SERIAL_CONSOLES} is not defined at
all.

p.






More information about the Openembedded-core mailing list