All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philip Balister <philip@balister.org>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: How do I get rid of systemd
Date: Wed, 18 Jan 2012 09:34:42 -0500	[thread overview]
Message-ID: <4F16D882.8080701@balister.org> (raw)
In-Reply-To: <F2C23BA4-EF14-44A5-A4B3-B50848CD0844@dominion.thruhere.net>

On 01/18/2012 09:21 AM, Koen Kooi wrote:
> 
> 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.

I'm working through this now. The meta-oe task-basic is sucking in
rsyslog-systemd. I already made a renamed copy of this so I could use
openssh instead of dropbear, so this was an easy fix for me.

But it would be a good idea to keep references to systemd (or sysvinit)
out of core tasks to make life easier for people.

And, it would be really nice not to have the ssh daemon determined in
task-basic. I do not want to use a local var to override that setting,
since then my task-basic is different from everyone elses.

Philip



  parent reply	other threads:[~2012-01-18 14:42 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-18 13:16 How do I get rid of systemd Rainer Koenig
2012-01-18 13:28 ` Koen Kooi
2012-01-18 14:15   ` Rainer Koenig
2012-01-18 14:22     ` Koen Kooi
2012-01-18 13:43 ` Sergey 'Jin' Bostandzhyan
2012-01-18 14:21   ` Koen Kooi
2012-01-18 14:34     ` Rainer Koenig
2012-01-18 15:13       ` Koen Kooi
2012-01-18 14:34     ` Philip Balister [this message]
2012-01-22  3:25       ` Khem Raj

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F16D882.8080701@balister.org \
    --to=philip@balister.org \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.