aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Dechesne <nicolas.dechesne@linaro.org>2019-02-22 18:29:49 +0100
committerKhem Raj <raj.khem@gmail.com>2019-02-22 18:14:53 -0800
commit479951ee994e25d8a03704b4186bce42e6684ac5 (patch)
tree53ba95a63696e157b01861687be16e8ac4bf29eb
parent94f89418977020568cc7d1673d2610f7c539ca9e (diff)
downloadmeta-openembedded-contrib-479951ee994e25d8a03704b4186bce42e6684ac5.tar.gz
meta-openembedded-contrib-479951ee994e25d8a03704b4186bce42e6684ac5.tar.bz2
meta-openembedded-contrib-479951ee994e25d8a03704b4186bce42e6684ac5.zip
udisks: 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 avoid error when trying to build 'world' Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-support/udisks/udisks_1.0.5.bb5
1 files changed, 4 insertions, 1 deletions
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"