aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMingli Yu <Mingli.Yu@windriver.com>2019-02-20 17:34:46 +0800
committerKhem Raj <raj.khem@gmail.com>2019-02-22 18:14:52 -0800
commit7acd6d7692c38e9ad1d5790f457ee812511dcdb5 (patch)
treeea1646354d63cc747d866b12586b6c0675847cd8
parent48bdb941563c7858fa659632cbd701ff08341f96 (diff)
downloadmeta-openembedded-contrib-7acd6d7692c38e9ad1d5790f457ee812511dcdb5.tar.gz
meta-openembedded-contrib-7acd6d7692c38e9ad1d5790f457ee812511dcdb5.tar.bz2
meta-openembedded-contrib-7acd6d7692c38e9ad1d5790f457ee812511dcdb5.zip
udisks2: add REQUIRED_DISTRO_FEATURES for polkit
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 polkit: $ 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@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-support/udisks/udisks2_2.7.8.bb4
1 files changed, 3 insertions, 1 deletions
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 64b338f11b..95f8e22e00 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
+
+REQUIRED_DISTRO_FEATURES = "polkit"
EXTRA_OECONF = "--disable-man --disable-gtk-doc"