[yocto] Changing over to systemd (no dhcp)

Mike Looijmans mike.looijmans at topic.nl
Sun Jan 22 23:57:06 PST 2017


On 23-01-17 08:47, colin.helliwell at ln-systems.com wrote:
> Looking at it in more detail, it's perhaps more that not everything is taken up by systemd i.e. I have lots of symlinks to /dev/null in etc/systemd/system, with the corresponding/original SysV script still in /etc/init.d.  Things like banner, sysfs, urandom, dmesg (to name just a few).
> Maybe these don't matter but, as I say, it just seems like a bit of 'clutter'
>
> Looking at one which does seem to switch over cleanly - dropbear - I'm puzzled how the recipe [dropbear.inc, in poky/meta/recipes-core] appears to install both init.d script and .service in its do_install, yet only one or the other ultimately shows up in the rootfs..? (Relates to my other question about how to determine the init type in do_install)

I suspect that "inherit systemd" is taking care of that.


>
> 

Kind regards,

Mike Looijmans
System Expert

TOPIC Products
Materiaalweg 4, NL-5681 RJ Best
Postbus 440, NL-5680 AK Best
Telefoon: +31 (0) 499 33 69 79
E-mail: mike.looijmans at topicproducts.com
Website: www.topicproducts.com

Please consider the environment before printing this e-mail





-----Original Message-----
> From: Leon Woestenberg [mailto:leon at sidebranch.com]
> Sent: 21 January 2017 13:09
> To: colin.helliwell at ln-systems.com
> Cc: Yocto discussion list <yocto at yoctoproject.org>
> Subject: Re: [yocto] Changing over to systemd (no dhcp)
>
> Hi Colin,
>
> On Fri, Jan 20, 2017 at 2:59 PM, <colin.helliwell at ln-systems.com> wrote:
>>
>> DISTRO_FEATURES_remove = " sysvinit"
>>
>> I suspect there’s also some de-cluttering needed e.g. init.d scripts still being installed as well as a .service.
>>
> I wouldn't expect these to be installed.  Which ones specifically?
>
> Regards,
>
> Leon.
>




More information about the yocto mailing list