mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
xfce4-power-manager: enable polkit depending on distro feature
systemd and polkit are not directly related. It is just fine to build with systemd but without polkit. Rename the systemd package config to polkit and enable it depending on whether polkit is enabled in DISTRO_FEATURES. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
e6836ceaef
commit
4d3a76884e
|
|
@ -20,8 +20,8 @@ EXTRA_OECONF = " \
|
|||
--enable-panel-plugins \
|
||||
"
|
||||
|
||||
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
|
||||
PACKAGECONFIG[systemd] = "--enable-polkit, --disable-polkit, polkit"
|
||||
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'polkit', d)}"
|
||||
PACKAGECONFIG[polkit] = "--enable-polkit, --disable-polkit, polkit"
|
||||
|
||||
PACKAGES += "xfce4-powermanager-plugin"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user