From e5e0b30035ac4f8cc62a4c532a2ff46245ab84d0 Mon Sep 17 00:00:00 2001 From: Changqing Li Date: Fri, 24 Apr 2020 09:09:39 +0800 Subject: 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 Signed-off-by: Richard Purdie --- meta/recipes-devtools/python/python-pbr.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta/recipes-devtools/python/python-pbr.inc') 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" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2" +SRC_URI += "file://0001-change-shebang-to-python3.patch" + inherit pypi RDEPENDS_${PN} += "${PYTHON_PN}-pip" -- cgit v1.2.3-54-g00ecf