summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/connman/connman.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/connman/connman.inc')
-rw-r--r--meta/recipes-connectivity/connman/connman.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-connectivity/connman/connman.inc b/meta/recipes-connectivity/connman/connman.inc
index ab18f2fe01..7e05c8017d 100644
--- a/meta/recipes-connectivity/connman/connman.inc
+++ b/meta/recipes-connectivity/connman/connman.inc
@@ -70,9 +70,9 @@ SYSTEMD_SERVICE_${PN}-vpn = "connman-vpn.service"
70SYSTEMD_SERVICE_${PN}-wait-online = "connman-wait-online.service" 70SYSTEMD_SERVICE_${PN}-wait-online = "connman-wait-online.service"
71 71
72ALTERNATIVE_PRIORITY = "100" 72ALTERNATIVE_PRIORITY = "100"
73ALTERNATIVE_${PN} ="resolv-conf" 73ALTERNATIVE_${PN} = "${@bb.utils.contains('DISTRO_FEATURES','systemd','resolv-conf','',d)}"
74ALTERNATIVE_TARGET[resolv-conf] = "${sysconfdir}/resolv-conf.connman" 74ALTERNATIVE_TARGET[resolv-conf] = "${@bb.utils.contains('DISTRO_FEATURES','systemd','${sysconfdir}/resolv-conf.connman','',d)}"
75ALTERNATIVE_LINK_NAME[resolv-conf] = "${sysconfdir}/resolv.conf" 75ALTERNATIVE_LINK_NAME[resolv-conf] = "${@bb.utils.contains('DISTRO_FEATURES','systemd','${sysconfdir}/resolv.conf','',d)}"
76 76
77do_install_append() { 77do_install_append() {
78 if ${@bb.utils.contains('DISTRO_FEATURES','sysvinit','true','false',d)}; then 78 if ${@bb.utils.contains('DISTRO_FEATURES','sysvinit','true','false',d)}; then