WARN: polkit pulls systemd to image if not disabled explicitly
Since version 104 polkit has support for systemd session tracking commit
http://cgit.freedesktop.org/PolicyKit/commit/?id=2027302e803a9569a370b429a475dae5ef8afe34
Unless passed --disable-systemd it will autodetect libsystemd-login with pkg-config and enable it, which results in polkit package pulling systemd as RDEPEND.
To check your build look for
Session tracking: ConsoleKit
or
Session tracking: systemd
in polkit-0.104-r*/temp/log.do_configure
and as gconf depends on polkit I guess this happens for a lot of images.
You can disable it in your layer by something like this:
http://git.shr-project.org/git/?p=meta-smartphone.git;a=commit;h=fdfca500137491ee3a91c457213eba9bf5fe08a6
Cheers,
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 9 lines · On Tuesday 31 January 2012 14:27:18 Martin Jansa wrote:
Since version 104 polkit has support for systemd session tracking commit
http://cgit.freedesktop.org/PolicyKit/commit/?id=2027302e803a9569a370b429a475dae5ef8afe34Unless passed --disable-systemd it will autodetect libsystemd-login with pkg-config and enable it, which results in polkit package pulling systemd as RDEPEND.
Quoted 7 lines
To check your build look for
Session tracking: ConsoleKit
or
Session tracking: systemd
in polkit-0.104-r*/temp/log.do_configureand as gconf depends on polkit I guess this happens for a lot of images.
Are we now at the stage where we need a distro-level option to enable/disable systemd?
Cheers,
Paul
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre
Quoted 16 lines · Paul Eggleton
Quoted 15 lines · On Tuesday 31 January 2012 14:27:18 Martin Jansa wrote:
Since version 104 polkit has support for systemd session tracking commit
http://cgit.freedesktop.org/PolicyKit/commit/?id=2027302e803a9569a370b429a475dae5ef8afe34Unless passed --disable-systemd it will autodetect libsystemd-login with pkg-config and enable it, which results in polkit package pulling systemd as RDEPEND.
To check your build look for
Session tracking: ConsoleKit
or
Session tracking: systemd
in polkit-0.104-r*/temp/log.do_configure
Quoted 4 lines
Quoted 1 line
and as gconf depends on polkit I guess this happens for a lot of images.
Are we now at the stage where we need a distro-level option to enable/disable systemd?
It would be easier with some global (as distro-level) switch.. it's easy to watch for ${PN}-systemd subpackages going to image (as they are usually pulled by task-* recipes), but in case like this with polkit it's more difficult and cannot work OOTB for both sides I guess. (I'm fine with bbappend in my distro layer for now..)
Cheers,
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 4 lines · Paul Eggleton
Are we now at the stage where we need a distro-level option to enable/disable
systemd?
For now, OE-Core ought to disable systemd and Meta-OE needs a bbappend to add it.
Later yes. But in fact it needs to be well designed because people using systemd might not want to have init files around ... dunno how it might be handled in future.
Signature · 3 lines
Otavio Salvador O.S. Systems E-mail: [email protected] http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br