mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-05-21 03:45:19 +00:00
xfce4-session: optional support polkit
If polkit not in DISTRO_FEATURES, it failed
...
|ERROR: Nothing PROVIDES 'polkit' (but meta-openembedded/meta-xfce/recipes-xfce/
xfce4-session/xfce4-session_4.13.2.bb DEPENDS on or otherwise requires it)
|polkit was skipped: missing required distro feature 'polkit' (not in DISTRO_FEATURES)
|ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
|Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'xfce4-session', 'polkit']
...
Upstream optional support polkit:
560219ad50
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
dd26f651af
commit
bf40fa7397
@ -11,7 +11,6 @@ DEPENDS = " \
|
||||
libsm \
|
||||
libxfce4ui \
|
||||
libxfce4util \
|
||||
polkit \
|
||||
virtual/libx11 \
|
||||
xfconf \
|
||||
"
|
||||
@ -20,6 +19,9 @@ inherit xfce update-alternatives distro_features_check
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "x11"
|
||||
|
||||
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'polkit', d)}"
|
||||
PACKAGECONFIG[polkit] = "--enable-polkit, --disable-polkit, polkit"
|
||||
|
||||
SRC_URI += " \
|
||||
file://0001-configure.in-hard-code-path-to-iceauth.patch \
|
||||
"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user