connman/dropbear: INHIBIT_UPDATERCD_BBCLASS didn't work as expected, so clear INITSCR...
[opendreambox.git] / meta-opendreambox / recipes-connectivity / connman / connman_git.bb
1 require recipes-connectivity/connman/connman.inc
2
3 SRCREV = "f97980f9f5fbe8760d14b28375074062c1f8e446"
4 PV = "1.24+git${SRCPV}"
5
6 SRC_URI = "git://git.kernel.org/pub/scm/network/connman/connman.git \
7            file://connman \
8            file://connmand-env \
9            file://replace-hardcode-and-add-EnvironmentFile-and-Wants.patch \
10            file://connman-env.service.in"
11
12 S = "${WORKDIR}/git"
13
14 do_install_append() {
15         rm -rf ${D}${sysconfdir}/init.d
16
17         install -m 755 ${WORKDIR}/connmand-env ${D}${sbindir}/connmand-env
18         sed -e 's,@sbindir@,${sbindir},g' < ${WORKDIR}/connman-env.service.in > ${D}${systemd_unitdir}/system/connman-env.service
19         chmod 644 ${D}${systemd_unitdir}/system/connman-env.service
20 }
21
22 FILES_${PN} += "${sbindir}/connmand-env ${systemd_unitdir}/system/connman-env.service"
23
24 INITSCRIPT_PACKAGES = ""