[OE-core] systemd/sysvinit switches (was [meta-systemd][PATCH 1/2] Delete systemd class)

Martin Jansa martin.jansa at gmail.com
Fri Apr 12 10:55:30 UTC 2013


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 at 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 at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20130412/271c2b07/attachment-0002.sig>


More information about the Openembedded-core mailing list