[OE-core] How do I get rid of systemd
Koen Kooi
koen at dominion.thruhere.net
Wed Jan 18 14:21:28 UTC 2012
Op 18 jan. 2012, om 14:43 heeft Sergey 'Jin' Bostandzhyan het volgende geschreven:
> Hi Rainer,
>
> On Wed, Jan 18, 2012 at 02:16:12PM +0100, Rainer Koenig wrote:
>> built my first basic customized console image (based on angstrom's
>> console-image.bb) and managed to get SystemV init pulled in by deleting
>> the systemd entry for the init manager.
>>
>> But systemd is still pulled in via connman, dhcp, rsyslog and ntp. How
>> can I get totally rid of systemd so that I don't need a kernel with CGROUPS?
>
> I also did not want systemd in my image, I had to create a layer and patch
> out systemd from each package that was pulling it in, one by one.
>
> Surely not the nicest solution, but I did not find any other ways to solve this.
It's really easy, create your own image, no patching needed. The systemd dependencies are all in ${PN}-systemd, so just don't include those in your image. I you do include ${PN}-systemd in your image you shouldn't be surprised that systemd ends up in it.
More information about the Openembedded-core
mailing list