[oe] [meta-oe][meta-efl][PATCH 1/2] polkit: enable and disable systemd/consolekit support explicitly

Koen Kooi koen at dominion.thruhere.net
Wed Feb 22 08:35:09 UTC 2012


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

Op 20-02-12 23:13, Martin Jansa schreef:
> * people using sysvinit already have or can set something like 
> task-core-boot.bb does VIRTUAL-RUNTIME_init_manager ?= "sysvinit" to
> disable systemd explicitly (so it's not picked by shlib when it's 
> available because other packages). * and for the rest it will disable
> consolekit and enable systemd explititly
> 
> Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com> --- 
> .../recipes-extended/polkit/polkit_0.104.bbappend  |    7 +++++-- 1 files
> changed, 5 insertions(+), 2 deletions(-)
> 
> diff --git a/meta-oe/recipes-extended/polkit/polkit_0.104.bbappend
> b/meta-oe/recipes-extended/polkit/polkit_0.104.bbappend index
> 3c43970..d649f61 100644 ---
> a/meta-oe/recipes-extended/polkit/polkit_0.104.bbappend +++
> b/meta-oe/recipes-extended/polkit/polkit_0.104.bbappend @@ -1,3 +1,6 @@ 
> -DEPENDS += "systemd" +PRINC := "${@int(PRINC) + 3}"
> 
> -PRINC = "1" +PACKAGECONFIG ??=
> "${@base_contains('VIRTUAL-RUNTIME_init_manager', 'sysvinit',
> 'consolekit', 'systemd', d)}" +PACKAGECONFIG[systemd] =
> "--enable-systemd,--disable-systemd,systemd" +# there is no
> --enable/--disable option for consolekit and it's not picked by shlibs,
> so add it to RDEPENDS +PACKAGECONFIG[consolekit] = ",,,consolekit"

I really don't want to use runtime vars to trigger buildtime deps :(
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: GPGTools - http://gpgtools.org

iEYEARECAAYFAk9EqLAACgkQMkyGM64RGpF9nACeJIMiWeUkdZ1f7HlDT669DohK
xaEAoIbezxgzLUg97K500qpxDn1rPzH8
=XcOs
-----END PGP SIGNATURE-----





More information about the Openembedded-devel mailing list