diff options
author | Ross Burton <ross.burton@intel.com> | 2018-01-29 17:11:11 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-01-30 11:50:11 +0000 |
commit | 965c5afc8fd1ab280ecd82908826d520c275fd67 (patch) | |
tree | 4bb367378280b216097b27ea084b528a4cd80e17 /meta/recipes-connectivity/ofono/ofono | |
parent | 58449f0e9cc4a05c88204cf8ba887b55467d886e (diff) | |
download | poky-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')
-rw-r--r-- | meta/recipes-connectivity/ofono/ofono/use-python3.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/ofono/ofono/use-python3.patch b/meta/recipes-connectivity/ofono/ofono/use-python3.patch new file mode 100644 index 0000000000..7b84075257 --- /dev/null +++ b/meta/recipes-connectivity/ofono/ofono/use-python3.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | set-ddr should use Python3 like all the other tests. | ||
2 | |||
3 | Upstream-Status: Submitted | ||
4 | Signed-off-by: Ross Burton <ross.burton@intel.com> | ||
5 | |||
6 | From 17b69cd1da4c5c5f732acb38ca1602446c567ee7 Mon Sep 17 00:00:00 2001 | ||
7 | From: Ross Burton <ross.burton@intel.com> | ||
8 | Date: Mon, 29 Jan 2018 11:31:25 +0000 | ||
9 | Subject: [PATCH] test/setddr: use Python 3 | ||
10 | |||
11 | All the other tests use Python 3, so this should to. | ||
12 | --- | ||
13 | test/set-ddr | 2 +- | ||
14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
15 | |||
16 | diff --git a/test/set-ddr b/test/set-ddr | ||
17 | index 5d061b95..33631f31 100755 | ||
18 | --- a/test/set-ddr | ||
19 | +++ b/test/set-ddr | ||
20 | @@ -1,4 +1,4 @@ | ||
21 | -#!/usr/bin/python | ||
22 | +#!/usr/bin/python3 | ||
23 | |||
24 | import sys | ||
25 | import dbus | ||
26 | -- | ||
27 | 2.11.0 | ||