sysprof: depend on polkit only if DISTRO_FEATURES has it
PATCH 1/1 sysprof: depend on polkit only if DISTRO_FEATURES has it
From: Mikko Rapeli <[email protected]>
Fixes yocto-check-layer error:
ERROR: Nothing PROVIDES 'polkit' (but /home/builder/src/base/meta-openembedded/meta-gnome/recipes-kernel/sysprof/sysprof_3.34.1.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.
--- meta-gnome/recipes-kernel/sysprof/sysprof_3.34.1.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
meta-gnome/recipes-kernel/sysprof/sysprof_3.34.1.bb +4 -1
@@ -16,7 +16,10 @@ SRC_URI += "file://0001-sysprof-Define-NT_GNU_BUILD_ID-if-undefined.patch \ file://0001-libsysprof-ui-Rename-environ-to-sys_environ.patch \ " -PACKAGECONFIG ?= "sysprofd libsysprof ${@bb.utils.contains_any('DISTRO_FEATURES', '${GTK3DISTROFEATURES}', 'gtk', '', d)}" +PACKAGECONFIG ?= " \ + ${@bb.utils.contains_any('DISTRO_FEATURES', 'polkit', 'sysprofd libsysprof', '', d)} \ + ${@bb.utils.contains_any('DISTRO_FEATURES', '${GTK3DISTROFEATURES}', 'gtk', '', d)} \ +" PACKAGECONFIG[gtk] = "-Denable_gtk=true,-Denable_gtk=false,gtk+3 libdazzle" PACKAGECONFIG[sysprofd] = "-Dwith_sysprofd=bundled,-Dwith_sysprofd=none,polkit" PACKAGECONFIG[libsysprof] = "-Dlibsysprof=true,-Dlibsysprof=false,polkit"
Signature · 1 line
2.7.4
Backport the commit from master instead:
https://git.openembedded.org/meta-openembedded/commit/?id=4ff5b43edd3dd5843d29b66d809cb5365e9f9857
Quoted 50 lines · akash hadke
From: Mikko Rapeli <[email protected]>
Fixes yocto-check-layer error:
ERROR: Nothing PROVIDES 'polkit' (but
/home/builder/src/base/meta-openembedded/meta-gnome/recipes-kernel/sysprof/sysprof_3.34.1.bb DEPENDS on or otherwise requires it)
polkit was skipped: missing required distro feature 'polkit' (not inDISTRO_FEATURES)
ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.Signed-off-by Mikko Rapeli <[email protected]>Signed-off-by akash hadke <[email protected]>--- meta-gnome/recipes-kernel/sysprof/sysprof_3.34.1.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)meta-gnome/recipes-kernel/sysprof/sysprof_3.34.1.bb +0
-1@@ -16,7 +16,10 @@ SRC_URI += "file://0001-sysprof-Define-NT_GNU_BUILD_ID-if-undefined.patch \ file://0001-libsysprof-ui-Rename-environ-to-sys_environ.patch \ " -PACKAGECONFIG ?= "sysprofd libsysprof ${@bb.utils.contains_any('DISTRO_FEATURES', '${GTK3DISTROFEATURES}', 'gtk','', d)}"
meta-gnome/recipes-kernel/sysprof/sysprof_3.34.1.bb +2
-0+PACKAGECONFIG ?= " \ + ${@bb.utils.contains_any('DISTRO_FEATURES', 'polkit', 'sysprofdlibsysprof', '', d)} \
+ ${@bb.utils.contains_any('DISTRO_FEATURES', '${GTK3DISTROFEATURES}',
'gtk', '', d)} \
+"
PACKAGECONFIG[gtk] = "-Denable_gtk=true,-Denable_gtk=false,gtk+3
libdazzle"
PACKAGECONFIG[sysprofd] =
"-Dwith_sysprofd=bundled,-Dwith_sysprofd=none,polkit"
PACKAGECONFIG[libsysprof] = "-Dlibsysprof=true,-Dlibsysprof=false,polkit"
--
2.7.4