mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
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>
This commit is contained in:
parent
cd2f6d54b4
commit
c81d25cd9b
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user