meta-agl-core: remove connman cluster demo support 93/25893/2
authorScott Murray <scott.murray@konsulko.com>
Tue, 12 Jan 2021 22:33:51 +0000 (17:33 -0500)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Wed, 13 Jan 2021 12:33:59 +0000 (12:33 +0000)
Remove cluster demo support logic from connman bbappend, as it has
been moved to meta-agl-demo instead.  This improves the separation
of core vs demo configuration changes.

Bug-AGL: SPEC-3749

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ica4113509a73def565b15e5067c5d7db0a6ecaf1
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25893
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
meta-agl-core/recipes-connectivity/connman/connman_aglcore.inc

index 4693458..f054c10 100644 (file)
@@ -10,11 +10,6 @@ PACKAGECONFIG[session-policy-local] = "--enable-session-policy-local,--disable-s
 PACKAGECONFIG_append = " session-policy-local"
 
 do_install_append() {
-       install -d ${D}${sysconfdir}/connman
-       install -m 0644 ${WORKDIR}/main.conf ${D}${sysconfdir}/connman
-
-       # Need to ignore eth1 in cluster demo setup
-       if ${@bb.utils.contains('DISTRO_FEATURES', 'agl-cluster-demo-support', 'true', 'false', d)}; then
-               sed -i 's/^\(NetworkInterfaceBlacklist=.*\)/\1,eth1/' ${D}${sysconfdir}/connman/main.conf
-       fi
+    install -d ${D}${sysconfdir}/connman
+    install -m 0644 ${WORKDIR}/main.conf ${D}${sysconfdir}/connman
 }