[oe] [meta-oe][RFC 00/27] systemd / initmanager rework

Koen Kooi koen at dominion.thruhere.net
Wed Feb 8 12:14:27 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 08-02-12 12:12, Otavio Salvador schreef:
> On Wed, Feb 8, 2012 at 09:07, Koen Kooi <koen at dominion.thruhere.net>
> wrote:
> 
>> If it's just polkit and udisks and image feature works well enough.
>> Perfect is the enemy of good and all that.
> 
> 
> How I'd generate an image with polkit with systemd support?

In this case:

	1) split out systemd libs from systemd PN
if('systemd' in IMAGE_FEATURES) {

	2) use bbappend to enable systemd support in polkit
}

Images with sysvinit will be working the same as before, just with
libsystemd-logind.so.X being installed. Images with systemd get working
session tracking.

Have a look at
http://cgit.openembedded.org/openembedded-core/log/meta/recipes-support/consolekit
to see that consolekit had been broken in oe-core for a long, long time and
noone cared.

That is why I want to make an exception for polkit and udisks to keep
initmanager selection an IMAGE_FEATURE combined with DISTRO_FEATURE. A
distro maintainer can then choose to support one or more initmanagers and in
the case for multiple it can be set per image.

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: GPGTools - http://gpgtools.org

iEYEARECAAYFAk8yZyEACgkQMkyGM64RGpEPDgCfZc2zCQZcAUKqAcU1L1I0riw6
r0YAoIF8daCi0J2sp4jcGItiQlgCNsyi
=kUuc
-----END PGP SIGNATURE-----





More information about the Openembedded-devel mailing list