Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: "Burton, Ross" <ross.burton@intel.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: systemd/sysvinit switches (was [meta-systemd][PATCH 1/2] Delete systemd class)
Date: Fri, 12 Apr 2013 12:55:30 +0200	[thread overview]
Message-ID: <20130412105530.GL2477@jama> (raw)
In-Reply-To: <CAJTo0LZWKopuBHzAp5g7Uj03kmqfTDzTF8Aq+mWax27wHz11wA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1343 bytes --]

On Fri, Apr 12, 2013 at 11:46:16AM +0100, Burton, Ross wrote:
> Hi Andreas,
> 
> On 12 April 2013 09:56, Andreas Müller <schnitzeltony@googlemail.com> wrote:
> > OK - just in case I have spare cycles to start this: I am afraid I
> > lost overview regarding distro features. I found systemd and sysvinit
> > which can be set both - still correct?
> >
> > Ross could you please link me to the information how the use case 'I
> > want to build for both init-systems but let image decide which one to
> > use' is set up.
> > Sorry I didn't follow the last changes in detail because of other
> > issues (and personally I just use sysvinit).
> 
> It's in the manual!  Okay, only just, and it's still being worked on:
> 
> http://www.yoctoproject.org/docs/1.4/dev-manual/dev-manual.html#selecting-an-initialization-manager
> 
> (obviously the DISTRO_FEATURES = "systemd" bit is wrong, but you can
> see what the intention is)

for systemd-only case it should also recommend:

# sysvinit scripts are often missing in recipe
BAD_RECOMMENDATIONS += "update-rc.d"

Because at least dbus/udev are missing sysvinit scripts without sysvinit in
DISTRO_FEATURES and postinst scripts are failing when there is
udpate-rc.d but not script which it is trying to enable..

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

      reply	other threads:[~2013-04-12 11:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-12  8:56 systemd/sysvinit switches (was [meta-systemd][PATCH 1/2] Delete systemd class) Andreas Müller
2013-04-12 10:46 ` Burton, Ross
2013-04-12 10:55   ` Martin Jansa [this message]

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=20130412105530.GL2477@jama \
    --to=martin.jansa@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=ross.burton@intel.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox