[oe] [meta-oe][PATCH 1/2] udisks2: add REQUIRED_DISTRO_FEATURES for polkit

mingli.yu at windriver.com mingli.yu at windriver.com
Wed Feb 20 09:34:46 UTC 2019

From: Mingli Yu <Mingli.Yu at windriver.com>

After below commits to add polkit as a required
distro feature:
97a1a55 polkit: add polkit as a required distro feature
c049e02 polkit: inherit distro_features_check

Need to add REQUIRED_DISTRO_FEATURES for polkit to
fix below error for these packages which depend on
$ bitbake udisk2
ERROR: Nothing PROVIDES 'polkit' (but /build/layers/meta-openembedded/meta-oe/recipes-support/udisks/udisks2_2.7.8.bb  DEPENDS on or otherwise requires it)

Signed-off-by: Mingli Yu <Mingli.Yu at windriver.com>
 meta-oe/recipes-support/udisks/udisks2_2.7.8.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/udisks/udisks2_2.7.8.bb b/meta-oe/recipes-support/udisks/udisks2_2.7.8.bb
index 64b338f..95f8e22 100644
--- a/meta-oe/recipes-support/udisks/udisks2_2.7.8.bb
+++ b/meta-oe/recipes-support/udisks/udisks2_2.7.8.bb
@@ -27,7 +27,9 @@ S = "${WORKDIR}/git"
 CVE_PRODUCT = "udisks"
-inherit autotools systemd gtk-doc gobject-introspection
+inherit autotools systemd gtk-doc gobject-introspection distro_features_check
 EXTRA_OECONF = "--disable-man --disable-gtk-doc"

More information about the Openembedded-devel mailing list