summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
1d32761)
When running the cluster demo, we do not want the second ethernet
interface managed by connman, as it will be used for a separate
connection to the cluster board, and should not be considered part
of the shared connection pool. To do this, NetworkInterfaceBlacklist
is tweaked if agl-cluster-demo-support is enabled.
Change-Id: Iab8c17662bb7f5b06b5eda6c97dd32a6c5ef3f5a
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
do_install_append() {
install -d ${D}${sysconfdir}/connman
install -m 0644 ${WORKDIR}/main.conf ${D}${sysconfdir}/connman
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
+ echo "NetworkInterfaceBlacklist=vmnet,vboxnet,virbr,ifb,eth1" >> ${D}${sysconfdir}/connman/main.conf
+ fi