summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/ofono/ofono.inc
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2018-01-29 17:11:11 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-01-30 11:50:11 +0000
commit965c5afc8fd1ab280ecd82908826d520c275fd67 (patch)
tree4bb367378280b216097b27ea084b528a4cd80e17 /meta/recipes-connectivity/ofono/ofono.inc
parent58449f0e9cc4a05c88204cf8ba887b55467d886e (diff)
downloadpoky-965c5afc8fd1ab280ecd82908826d520c275fd67.tar.gz
ofono: use patch sent upstream instead of sed
Instead of using a sed to fix the hashbang in a test tool send a patch upstream and use that. This way we'll notice when the patch doesn't need to be applied anymore. (From OE-Core rev: 8b6c45dfdd6a7b469f5a0dd7308b25bdd4b1bf56) Signed-off-by: Ross Burton <ross.burton@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.inc3
1 files changed, 0 insertions, 3 deletions
diff --git a/meta/recipes-connectivity/ofono/ofono.inc b/meta/recipes-connectivity/ofono/ofono.inc
index 4443a95c2f..0472414b19 100644
--- a/meta/recipes-connectivity/ofono/ofono.inc
+++ b/meta/recipes-connectivity/ofono/ofono.inc
@@ -26,9 +26,6 @@ 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
34PACKAGES =+ "${PN}-tests" 31PACKAGES =+ "${PN}-tests"