summaryrefslogtreecommitdiffstats
path: root/recipes-connectivity/connman/connman-conf_agldemo.inc
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2022-04-11 19:49:57 -0400
committerjenkins-dontreply@build.automotivelinux.org <collab-it+agl-jobbuilder@linuxfoundation.org>2022-04-13 13:31:22 +0000
commit77cdbb995c03689e4d020a1c42f5ce5a3d62cfcd (patch)
tree0784bdcfdc56bde94689e105c373e877d879848d /recipes-connectivity/connman/connman-conf_agldemo.inc
parent901bef8b6697196a19337d8f6647ebb6fd54f24e (diff)
connman: move bbappend to connman-conf
Shift the connman bbappend to connman-conf to match the changes in upstream and meta-agl-core with respect to what installs the connman main.conf. Bug-AGL: SPEC-3819 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I29c1c4a99c215082081b8d4ddaec6aaadcfd9933
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
+}