Op 17 okt. 2013, om 10:03 heeft Nicolas Dechesne <nicolas.deche...@linaro.org> het volgende geschreven:
> 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'. The recipe itself is already a policy thing, so we should look into a way to have different images for proper builds (using BSPs) and hwpack based deployments. This will also make non-linaro users of our layers happy. > 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 agree > 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. Right. But keep in mind that sysv is not the only init system supported in oe-core. FWIW, systemd already autospawns a getty on every entry listed in the console= kernel cmdline. regards, Koen Kooi Builds and Baselines | Release Manager Linaro.org | Open source software for ARM SoCs > > 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 _______________________________________________ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev