diff options
| author | Martin Jansa <martin.jansa@gmail.com> | 2025-09-09 19:17:35 +0200 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2025-09-30 08:01:59 -0700 |
| commit | e753480a0540df86cba94b04824aa9d9e7fe3932 (patch) | |
| tree | e0cf19873e403b72663fe16bd93fa25b269c57a8 /meta/lib | |
| parent | f82e18eee14f046c5e2b50cb5d212e1eaf332c02 (diff) | |
| download | poky-e753480a0540df86cba94b04824aa9d9e7fe3932.tar.gz | |
lib/oe/utils: use multiprocessing from bb
Fixes build with python-3.14
It was added to bitbake in 62be9113d98fccb347c6aa0a10d5c4ee2857f8b6
and oe-core now requires latest bitbake already, so we can use this.
[YOCTO #15858]
(From OE-Core rev: 92369c8acf0b4d6c2ced88abbda5f5defd276ba2)
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Reviewed-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/lib')
| -rw-r--r-- | meta/lib/oe/utils.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/lib/oe/utils.py b/meta/lib/oe/utils.py index c9c7a47041..437a2d51c7 100644 --- a/meta/lib/oe/utils.py +++ b/meta/lib/oe/utils.py | |||
| @@ -5,10 +5,11 @@ | |||
| 5 | # | 5 | # |
| 6 | 6 | ||
| 7 | import subprocess | 7 | import subprocess |
| 8 | import multiprocessing | ||
| 9 | import traceback | 8 | import traceback |
| 10 | import errno | 9 | import errno |
| 11 | 10 | ||
| 11 | from bb import multiprocessing | ||
| 12 | |||
| 12 | def read_file(filename): | 13 | def read_file(filename): |
| 13 | try: | 14 | try: |
| 14 | f = open( filename, "r" ) | 15 | f = open( filename, "r" ) |
