]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
lib/oe/utils: use multiprocessing from bb
authorMartin Jansa <martin.jansa@gmail.com>
Tue, 9 Sep 2025 17:17:16 +0000 (19:17 +0200)
committerSteve Sakoman <steve@sakoman.com>
Mon, 22 Sep 2025 19:42:57 +0000 (12:42 -0700)
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]

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>
meta/lib/oe/utils.py

index d272dd2b8dab3f4725f0f90a79a24f745c5ca474..2137b05df0e5a5118e4dfe3b1fc57cab115e9d5d 100644 (file)
@@ -5,10 +5,11 @@
 #
 
 import subprocess
-import multiprocessing
 import traceback
 import errno
 
+from bb import multiprocessing
+
 def read_file(filename):
     try:
         f = open( filename, "r" )