diff mbox series

[oe,meta-oe,4/4] udisks: add REQUIRED_DISTRO_FEATURES for polkit

Message ID 20190222172949.3661-5-nicolas.dechesne@linaro.org
State Accepted
Commit 479951ee994e25d8a03704b4186bce42e6684ac5
Headers show
Series A few fixes when trying to run yocto-check-layer | expand

Commit Message

Nicolas Dechesne Feb. 22, 2019, 5:29 p.m. UTC
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 avoid error when
trying to build 'world'

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>

---
 meta-oe/recipes-support/udisks/udisks_1.0.5.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

-- 
2.20.1

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
diff mbox series

Patch

diff --git a/meta-oe/recipes-support/udisks/udisks_1.0.5.bb b/meta-oe/recipes-support/udisks/udisks_1.0.5.bb
index 7cd9992214..3ae8ecc15c 100644
--- a/meta-oe/recipes-support/udisks/udisks_1.0.5.bb
+++ b/meta-oe/recipes-support/udisks/udisks_1.0.5.bb
@@ -22,7 +22,10 @@  SRC_URI = "http://hal.freedesktop.org/releases/${BPN}-${PV}.tar.gz;name=${BPN} \
 SRC_URI[udisks.md5sum] = "70d48dcfe523a74cd7c7fbbc2847fcdd"
 SRC_URI[udisks.sha256sum] = "f2ec82eb0ea7e01dc299b5b29b3c18cdf861236ec43dcff66b3552b4b31c6f71"
 
-inherit autotools-brokensep systemd gtk-doc
+inherit autotools-brokensep systemd gtk-doc distro_features_check
+
+REQUIRED_DISTRO_FEATURES = "polkit"
+
 
 PACKAGECONFIG ??= "libdevmapper"
 PACKAGECONFIG[libdevmapper] = "--enable-devmapper,--disable-devmapper,libdevmapper"