diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2012-02-18 10:58:01 +0100 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2012-02-23 16:46:32 +0100 |
commit | c81d25cd9b9ec6a20e19ef92c8e6dabc93e3feba (patch) | |
tree | 0341137c1e587964aa66443cf9c285026802c686 /meta-oe/recipes-extended | |
parent | cd2f6d54b4e317a5d1a8d676a31dca93d2621b48 (diff) | |
download | meta-openembedded-c81d25cd9b9ec6a20e19ef92c8e6dabc93e3feba.tar.gz |
polkit: enable and disable systemd/consolekit support explicitly
* people using sysvinit need to add something like
PACKAGECONFIG = "${@base_contains('VIRTUAL-RUNTIME_init_manager', 'sysvinit', 'consolekit', 'systemd', d)}"
or just
PACKAGECONFIG = "consolekit"
to their own .bbappend if they don't want to get systemd in their
images.
* and for the rest it will enable systemd explititly
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended')
-rw-r--r-- | meta-oe/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 3c4397002..1e2cccdcf 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 @@ | |||
1 | DEPENDS += "systemd" | 1 | PRINC := "${@int(PRINC) + 3}" |
2 | 2 | ||
3 | PRINC = "1" | 3 | PACKAGECONFIG ??= "systemd" |
4 | PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd" | ||
5 | # there is no --enable/--disable option for consolekit and it's not picked by shlibs, so add it to RDEPENDS | ||
6 | PACKAGECONFIG[consolekit] = ",,,consolekit" | ||