blob: 8057fbbc7a4ac60e0b5d6552a51e117801490ada (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
SRC_URI += "file://0001-disable-when-booting-over-nfs.patch \
file://main.conf \
"
FILES_${PN} += "${sysconfdir}/connman/main.conf"
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
}
|