diff options
| author | Paulo Neves <ptsneves@gmail.com> | 2022-06-14 17:10:59 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-06-24 23:57:42 +0100 |
| commit | 141de70a3990a9736bdee7692604c423e56e81b7 (patch) | |
| tree | cc73d19c8702401eef9c418a28c08195874acc86 /meta/recipes-devtools/python/python3_3.10.4.bb | |
| parent | daa47a61714a00d7a8e04a521e5185dcde8ca766 (diff) | |
| download | poky-141de70a3990a9736bdee7692604c423e56e81b7.tar.gz | |
python: Avoid shebang overflow on python-config.py
The native path may be too big, leading to shebang
overflow. Just use the #!/usr/bin/env python3.
(From OE-Core rev: 8a86bd88f0b46b0f413b98df20891cb9aa84c271)
Signed-off-by: Paulo Neves <ptsneves@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 84783dee09e48cb930c7cd27944eaf3f03997237)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3_3.10.4.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3_3.10.4.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3_3.10.4.bb b/meta/recipes-devtools/python/python3_3.10.4.bb index 6bd3a6aba8..357025f856 100644 --- a/meta/recipes-devtools/python/python3_3.10.4.bb +++ b/meta/recipes-devtools/python/python3_3.10.4.bb | |||
| @@ -34,6 +34,7 @@ SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.xz \ | |||
| 34 | file://0001-Lib-pty.py-handle-stdin-I-O-errors-same-way-as-maste.patch \ | 34 | file://0001-Lib-pty.py-handle-stdin-I-O-errors-same-way-as-maste.patch \ |
| 35 | file://0001-setup.py-Do-not-detect-multiarch-paths-when-cross-co.patch \ | 35 | file://0001-setup.py-Do-not-detect-multiarch-paths-when-cross-co.patch \ |
| 36 | file://deterministic_imports.patch \ | 36 | file://deterministic_imports.patch \ |
| 37 | file://0001-Avoid-shebang-overflow-on-python-config.py.patch \ | ||
| 37 | " | 38 | " |
| 38 | 39 | ||
| 39 | SRC_URI:append:class-native = " \ | 40 | SRC_URI:append:class-native = " \ |
