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>
This commit is contained in:
Mingli Yu 2019-02-20 17:34:46 +08:00 committed by Khem Raj
parent 48bdb94156
commit 7acd6d7692

View File

@ -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"