diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2019-01-17 17:26:29 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-01-20 10:15:44 -0800 |
commit | 463ce0cca621de265deba240d556d4d3d5ec6c2b (patch) | |
tree | f8c3e2cf9752ff4fc575a69a113ab3fb0a784a89 | |
parent | 11cff77d3a99968ccbc7fbbd91a3fdc6f06a7ca2 (diff) | |
download | meta-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.bb | 4 |
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 | ||
22 | S = "${WORKDIR}/ModemManager-${PV}" | 22 | S = "${WORKDIR}/ModemManager-${PV}" |
23 | 23 | ||
24 | PACKAGECONFIG ??= "mbim qmi polkit \ | 24 | PACKAGECONFIG ??= "mbim qmi \ |
25 | ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ | 25 | ${@bb.utils.filter('DISTRO_FEATURES', 'systemd polkit', d)} \ |
26 | " | 26 | " |
27 | 27 | ||
28 | PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/,," | 28 | PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/,," |