[OE-core] [PATCH] Remove ttyS* from /etc/inittab that are not present

Otavio Salvador otavio at ossystems.com.br
Fri Nov 18 00:29:27 UTC 2011


On Thu, Nov 17, 2011 at 22:23, McClintock Matthew-B29882
<B29882 at freescale.com> wrote:
> On Thu, Nov 17, 2011 at 6:08 PM, Otavio Salvador
> <otavio at ossystems.com.br> wrote:
>> This enforces online use so won't work for read-only-fs.
>
> Online use is sort of the point here - I think it should be configurable though.
>
>> Please use SERIAL_CONSOLE value to write iniitab but supporting offline use
>
> Already done but sometimes we want to run the same root file system
> with boards with 1 or 2 serial ports. So we need to dynamically add or
> remove entries.
>
> I'm mostly soliciting ideas for how we detect if a serial port is
> actually present besides 'dmesg'

I see your point but add more "must be online" requirements is wrong
IMO. This could be done with a specific package that could mangle the
image at first boot if really need but doing it by default on oe-core
seems the wrong way.

-- 
Otavio Salvador                             O.S. Systems
E-mail: otavio at ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br




More information about the Openembedded-core mailing list