summaryrefslogtreecommitdiffstats
path: root/recipes-connectivity/connman/connman_agldemo.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-connectivity/connman/connman_agldemo.inc')
-rw-r--r--recipes-connectivity/connman/connman_agldemo.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes-connectivity/connman/connman_agldemo.inc b/recipes-connectivity/connman/connman_agldemo.inc
new file mode 100644
index 00000000..1900cc14
--- /dev/null
+++ b/recipes-connectivity/connman/connman_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
+}