[oe-commits] Martin Jansa : polkit: enable and disable systemd/ consolekit support explicitly
git at git.openembedded.org
git at git.openembedded.org
Thu Feb 23 17:02:33 UTC 2012
Module: meta-openembedded.git
Branch: master
Commit: c81d25cd9b9ec6a20e19ef92c8e6dabc93e3feba
URL: http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=c81d25cd9b9ec6a20e19ef92c8e6dabc93e3feba
Author: Martin Jansa <Martin.Jansa at gmail.com>
Date: Sat Feb 18 10:58:01 2012 +0100
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 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..1e2cccd 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 ??= "systemd"
+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"
More information about the Openembedded-commits
mailing list