diff options
author | Changqing Li <changqing.li@windriver.com> | 2020-04-24 09:09:40 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-04-26 13:58:59 +0100 |
commit | 4a4fabaa8f6915513a3b1ef2268c402e96eca888 (patch) | |
tree | 21578bbda4aad07e7796aa161d09342dfb26b75e /meta/recipes-devtools/python/python3-pip_20.0.2.bb | |
parent | a0b6ae56970aa53f65ed10bebd90fefa410a7099 (diff) | |
download | openembedded-core-contrib-4a4fabaa8f6915513a3b1ef2268c402e96eca888.tar.gz |
python3-pip: 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
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/python3-pip_20.0.2.bb')
-rw-r--r-- | meta/recipes-devtools/python/python3-pip_20.0.2.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-pip_20.0.2.bb b/meta/recipes-devtools/python/python3-pip_20.0.2.bb index 08738fb2f9..96973db774 100644 --- a/meta/recipes-devtools/python/python3-pip_20.0.2.bb +++ b/meta/recipes-devtools/python/python3-pip_20.0.2.bb @@ -6,6 +6,8 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=8ba06d529c955048e5ddd7c45459eb2e" DEPENDS += "python3 python3-setuptools-native" +SRC_URI += "file://0001-change-shebang-to-python3.patch" + SRC_URI[md5sum] = "7d42ba49b809604f0df3d55df1c3fd86" SRC_URI[sha256sum] = "7db0c8ea4c7ea51c8049640e8e6e7fde949de672bfa4949920675563a5a6967f" |