connman: convert back to bbappend, use a wrapper script for nfsroots
[opendreambox.git] / meta-opendreambox / recipes-connectivity / connman / connman_%.bbappend
1 FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"
2
3 SRC_URI += "file://connmand-nfsroot.in \
4             file://0001-device-inet-Create-read-only-devices-instead-of-igno.patch"
5
6 do_install_append() {
7         mv ${D}${sbindir}/connmand ${D}${sbindir}/connmand.real
8         install -m 755 ${WORKDIR}/connmand-nfsroot.in ${D}${sbindir}/connmand
9         sed -e 's,@sbindir@,${sbindir},g' -i ${D}${sbindir}/connmand
10 }