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 14:00:51 +0100 |
commit | c57eb0a488d19216f9ad3a5c1861f6b9bf4bc4b5 (patch) | |
tree | c4af812181553c0a57419924361a6412742a4b8b /meta/recipes-devtools/python/python3-pip_20.0.2.bb | |
parent | e5e0b30035ac4f8cc62a4c532a2ff46245ab84d0 (diff) | |
download | poky-c57eb0a488d19216f9ad3a5c1861f6b9bf4bc4b5.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
(From OE-Core rev: 4a4fabaa8f6915513a3b1ef2268c402e96eca888)
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" | |||
6 | 6 | ||
7 | DEPENDS += "python3 python3-setuptools-native" | 7 | DEPENDS += "python3 python3-setuptools-native" |
8 | 8 | ||
9 | SRC_URI += "file://0001-change-shebang-to-python3.patch" | ||
10 | |||
9 | SRC_URI[md5sum] = "7d42ba49b809604f0df3d55df1c3fd86" | 11 | SRC_URI[md5sum] = "7d42ba49b809604f0df3d55df1c3fd86" |
10 | SRC_URI[sha256sum] = "7db0c8ea4c7ea51c8049640e8e6e7fde949de672bfa4949920675563a5a6967f" | 12 | SRC_URI[sha256sum] = "7db0c8ea4c7ea51c8049640e8e6e7fde949de672bfa4949920675563a5a6967f" |
11 | 13 | ||