aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-connectivity/connman/connman-conf_agldemo.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-connectivity/connman/connman-conf_agldemo.inc')
-rw-r--r--recipes-connectivity/connman/connman-conf_agldemo.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes-connectivity/connman/connman-conf_agldemo.inc b/recipes-connectivity/connman/connman-conf_agldemo.inc
new file mode 100644
index 000000000..5b732ae52
--- /dev/null
+++ b/recipes-connectivity/connman/connman-conf_agldemo.inc
@@ -0,0 +1,6 @@
+do_install:append() {
+ # Need to ignore eth1 in cluster demo setup
+ if ${@bb.utils.contains('AGL_FEATURES', 'agl-cluster-demo-support', 'true', 'false', d)}; then
+ sed -i 's/^\(NetworkInterfaceBlacklist=.*\)/\1,eth1/' ${D}${sysconfdir}/connman/main.conf
+ fi
+}