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-29 23:05:52 +0000
commit8b6c45dfdd6a7b469f5a0dd7308b25bdd4b1bf56 (patch)
treea57bd8f83029b170c54b7345d76d2f6bf0913fd6 /meta/recipes-connectivity/ofono/ofono.inc
parent0391fcad9103abca0796a068f957d0df63ab4776 (diff)
downloadopenembedded-core-contrib-8b6c45dfdd6a7b469f5a0dd7308b25bdd4b1bf56.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. 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 4443a95c2f7..0472414b199 100644
--- a/meta/recipes-connectivity/ofono/ofono.inc
+++ b/meta/recipes-connectivity/ofono/ofono.inc
@@ -26,9 +26,6 @@ SYSTEMD_SERVICE_${PN} = "ofono.service"
do_install_append() {
install -d ${D}${sysconfdir}/init.d/
install -m 0755 ${WORKDIR}/ofono ${D}${sysconfdir}/init.d/ofono
-
- # Ofono still has one test tool that refers to Python 2 in the shebang
- sed -i -e '1s,#!.*python.*,#!${bindir}/python3,' ${D}${libdir}/ofono/test/set-ddr
}
PACKAGES =+ "${PN}-tests"