diff options
author | Changqing Li <changqing.li@windriver.com> | 2020-04-24 09:09:39 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-04-26 14:00:51 +0100 |
commit | e5e0b30035ac4f8cc62a4c532a2ff46245ab84d0 (patch) | |
tree | 83aa145f8c79cf21c6d15a67a5e51a610e794d55 /meta/recipes-devtools/python/python-pbr.inc | |
parent | 9f7bd77be708955a7df3916c45f5c93f2c8b2318 (diff) | |
download | poky-e5e0b30035ac4f8cc62a4c532a2ff46245ab84d0.tar.gz |
python3-pbr: change shebang to python3
we have offcially dropped python2, so it is possible
that our code run on python3 only host, so change
shebang to python3 to avoid error like:
python: command not found
(From OE-Core rev: a0b6ae56970aa53f65ed10bebd90fefa410a7099)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python-pbr.inc')
-rw-r--r-- | meta/recipes-devtools/python/python-pbr.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python-pbr.inc b/meta/recipes-devtools/python/python-pbr.inc index 0e64501c32..ce3c224d51 100644 --- a/meta/recipes-devtools/python/python-pbr.inc +++ b/meta/recipes-devtools/python/python-pbr.inc | |||
@@ -5,6 +5,8 @@ SECTION = "devel/python" | |||
5 | LICENSE = "Apache-2.0" | 5 | LICENSE = "Apache-2.0" |
6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2" | 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2" |
7 | 7 | ||
8 | SRC_URI += "file://0001-change-shebang-to-python3.patch" | ||
9 | |||
8 | inherit pypi | 10 | inherit pypi |
9 | 11 | ||
10 | RDEPENDS_${PN} += "${PYTHON_PN}-pip" | 12 | RDEPENDS_${PN} += "${PYTHON_PN}-pip" |