On Thu, Oct 17, 2013 at 10:03:07AM +0200, Nicolas Dechesne wrote:
> koen, fathi, riku,
> 
> i am having issues with auto-serial-console that was initially done by marcin.
> 
> https://git.linaro.org/gitweb?p=openembedded/meta-linaro.git;a=tree;f=meta-linaro/recipes-linaro/auto-serial-console;hb=master
> 
> the main issue is that it conflicts with BSP layer that uses
> SERIAL_CONSOLE variable. It is very much expected for a BSP layer to
> set SERIAL_CONSOLE variable. In which case OE will automatically start
> a serial console
> 
> http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb
> 
> So when using auto-serial-console with a 'proper' BSP layer that set
> SERIAL_CONSOLE(S) we end up with starting the console twice, one added
> by OE, one by auto-serial-console. So far, all our OE builds are not
> using a proper BSP layer, so that's why you don't see the problem, but
> for our builds we use proper BSP layer...
> 
> right now, auto-serial-console does 3 things:
> 
>  1- figure out the serial console port from /proc/cmdline
>  2- start a console on #1
>  3- automatically login as root
> 
> I believe that we should 'do something' to split them into several
> packages so that we get more granularity. At least #3 needs to be
> separated out, as #3 is a 'policy'.
> 
> I would almost expect that 'being able to automatically login as root
> on the console' is a feature that could (should?) be added to oe-core
> somehow. What do you think koen? I looked into that, but there isn't
> any obvious (and trivial) way to do that, but it's certainly doable
> inside an IMAGE_FEATURE for example.
> 
> this email is just to start the discussion and get some advices, e.g.
> i am not asking you to do it ;-) i can work on it, but want to make
> sure i do it right, with an 'upstream' path if possible.
> 
> thx
> 
> nico
> 
I think the auto-serial-console is certainly a feature of image and not
machine as it currently is in linaro layers. I have been commenting it
out of all the machines for ages now as it clashes horribly with systemd.

I assume it was originally designed for LAVA, I would go as far as to say
its a really special case which should have its own range of images
devoted to it?

Graeme


_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to