-FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
+FILESEXTRAPATHS:prepend := "${THISDIR}/connman:"
-SRC_URI += "file://0001-disable-when-booting-over-nfs.patch \
- file://main.conf \
-"
-
-FILES_${PN} += "${sysconfdir}/connman/main.conf"
-
-PACKAGECONFIG[session-policy-local] = "--enable-session-policy-local,--disable-session-policy-local,"
-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
-}
+SRC_URI += "file://0001-disable-when-booting-over-nfs.patch"