<br><br><div class="gmail_quote">2011/10/24 Koen Kooi <span dir="ltr"><<a href="mailto:koen@dominion.thruhere.net">koen@dominion.thruhere.net</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br>
<br>
Otavio is cleaning up systemd in meta-oe to work with his initramfs setup and we stumbled onto a challenge that we'd like some more feedback on.<br>
<br>
The old sysvinit recipes always hardcode a serial getty into inittab, systemd installs a getty@<port>.service file instead. Otavio doesn't need (or want) a getty on serial in his setup, but I need (and want) it on all my setups. So we agreed that it needs to be a feature :)<br>
<br>
I nitially suggested MACHINE_FEATURE, which Otavio implemented here: <a href="http://patchwork.openembedded.org/patch/13713/" target="_blank">http://patchwork.openembedded.org/patch/13713/</a> , but I'm having second thoughs about it and am leaning toward an IMAGE_FEATURE instead. Since this involves *_FEATURE and we want systemd to move into oe-core eventually I'm moving the discussion from OE-devel to OE-core. Not much discussion has been going on, so I hope we'll get some more feedback here. I'll try to buttonhole some more OE developers at ELC and report back as well.<br>
<a href="http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core" target="_blank"></a></blockquote><div> </div><br></div>Technically it is probably both. <br>I've seen embedded systems without a console. That seems to indicate a machine feature.<br>
Then again even if you have a console you might not want to enable it (e.g. in order not to give the customer root access or even info wrt printk etc). That seems to indicate a machine feature.<br>Probably the answer is inbetween: A machine feature HAS_CONSOLE or something like that and an image feature CONSOLE_ENABLED.<br>
<br>My 2 cents.<br><br>Frans<br>