summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/ofono/ofono.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/ofono/ofono.inc')
-rw-r--r--meta/recipes-connectivity/ofono/ofono.inc6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/ofono/ofono.inc b/meta/recipes-connectivity/ofono/ofono.inc
index c415a39981..72bbcacbd5 100644
--- a/meta/recipes-connectivity/ofono/ofono.inc
+++ b/meta/recipes-connectivity/ofono/ofono.inc
@@ -26,6 +26,10 @@ SYSTEMD_SERVICE_${PN} = "ofono.service"
26do_install_append() { 26do_install_append() {
27 install -d ${D}${sysconfdir}/init.d/ 27 install -d ${D}${sysconfdir}/init.d/
28 install -m 0755 ${WORKDIR}/ofono ${D}${sysconfdir}/init.d/ofono 28 install -m 0755 ${WORKDIR}/ofono ${D}${sysconfdir}/init.d/ofono
29
30 # Ofono still has one test tool that refers to Python 2 in the shebang
31 sed -i -e '1s,#!.*python.*,#!${bindir}/python3,' ${D}${libdir}/ofono/test/set-ddr
32
29} 33}
30 34
31PACKAGES =+ "${PN}-tests" 35PACKAGES =+ "${PN}-tests"
@@ -34,4 +38,4 @@ RDEPENDS_${PN} += "dbus"
34 38
35FILES_${PN} += "${base_libdir}/udev ${systemd_unitdir}" 39FILES_${PN} += "${base_libdir}/udev ${systemd_unitdir}"
36FILES_${PN}-tests = "${libdir}/${BPN}/test" 40FILES_${PN}-tests = "${libdir}/${BPN}/test"
37RDEPENDS_${PN}-tests = "python python-pygobject python-dbus" 41RDEPENDS_${PN}-tests = "python3 python3-pygobject python3-dbus"