summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2019-01-17 17:26:29 +0100
committerKhem Raj <raj.khem@gmail.com>2019-01-20 10:15:44 -0800
commit463ce0cca621de265deba240d556d4d3d5ec6c2b (patch)
treef8c3e2cf9752ff4fc575a69a113ab3fb0a784a89
parent11cff77d3a99968ccbc7fbbd91a3fdc6f06a7ca2 (diff)
downloadmeta-openembedded-463ce0cca621de265deba240d556d4d3d5ec6c2b.tar.gz
modemmanager: enable polkit depending on distro feature
Enable the polkit package config depending on whether polkit is enabled in DISTRO_FEATURES. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-connectivity/modemmanager/modemmanager_1.8.2.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-oe/recipes-connectivity/modemmanager/modemmanager_1.8.2.bb b/meta-oe/recipes-connectivity/modemmanager/modemmanager_1.8.2.bb
index b374cb77a..f9b302a3d 100644
--- a/meta-oe/recipes-connectivity/modemmanager/modemmanager_1.8.2.bb
+++ b/meta-oe/recipes-connectivity/modemmanager/modemmanager_1.8.2.bb
@@ -21,8 +21,8 @@ SRC_URI[sha256sum] = "96f2a5f0ed15532b4c4c185b756fdc0326e7c2027cea26a1264f91e098
21 21
22S = "${WORKDIR}/ModemManager-${PV}" 22S = "${WORKDIR}/ModemManager-${PV}"
23 23
24PACKAGECONFIG ??= "mbim qmi polkit \ 24PACKAGECONFIG ??= "mbim qmi \
25 ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ 25 ${@bb.utils.filter('DISTRO_FEATURES', 'systemd polkit', d)} \
26" 26"
27 27
28PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/,," 28PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/,,"