diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2025-09-09 19:17:16 +0200 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2025-09-25 12:25:51 -0700 |
commit | 9bdfaa121a658bfaa752f68875bb9a2dcec66e79 (patch) | |
tree | 9af545280fb28052cc2803d8be0acaaef88bcf42 /meta/lib | |
parent | 0fd54596bb8f4a5651adf8c6bc743d512f963f10 (diff) | |
download | poky-9bdfaa121a658bfaa752f68875bb9a2dcec66e79.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: 8721554e02b4da4bb1aeb334921bc66a9eb80c91)
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 d272dd2b8d..2137b05df0 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" ) |