diff options
author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2016-06-02 12:25:47 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-03 13:13:26 +0100 |
commit | 0bde4b9f0483d05f64862a151ff814570c0efbd2 (patch) | |
tree | 7ea2c67f9f4990ddd5aa22644606dabf007f228e /meta/recipes-connectivity/ofono/ofono.inc | |
parent | 5a3a4a7fbb1b2140a739f0282ff5740750b7185e (diff) | |
download | poky-0bde4b9f0483d05f64862a151ff814570c0efbd2.tar.gz |
ofono: drop the custom-made revert to Python 2 from Python 3
(From OE-Core rev: 5645bd904b41fb765a03c4246ce6bcc3cda28f9d)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/ofono/ofono.inc')
-rw-r--r-- | meta/recipes-connectivity/ofono/ofono.inc | 6 |
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" | |||
26 | do_install_append() { | 26 | do_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 | ||
31 | PACKAGES =+ "${PN}-tests" | 35 | PACKAGES =+ "${PN}-tests" |
@@ -34,4 +38,4 @@ RDEPENDS_${PN} += "dbus" | |||
34 | 38 | ||
35 | FILES_${PN} += "${base_libdir}/udev ${systemd_unitdir}" | 39 | FILES_${PN} += "${base_libdir}/udev ${systemd_unitdir}" |
36 | FILES_${PN}-tests = "${libdir}/${BPN}/test" | 40 | FILES_${PN}-tests = "${libdir}/${BPN}/test" |
37 | RDEPENDS_${PN}-tests = "python python-pygobject python-dbus" | 41 | RDEPENDS_${PN}-tests = "python3 python3-pygobject python3-dbus" |