diff options
-rw-r--r-- | meta/classes/package.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index affa34e808..551cafc51a 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass | |||
@@ -897,7 +897,7 @@ python split_and_strip_files () { | |||
897 | import multiprocessing | 897 | import multiprocessing |
898 | nproc = multiprocessing.cpu_count() | 898 | nproc = multiprocessing.cpu_count() |
899 | pool = bb.utils.multiprocessingpool(nproc) | 899 | pool = bb.utils.multiprocessingpool(nproc) |
900 | processed = pool.imap(oe.package.runstrip, sfiles) | 900 | processed = list(pool.imap(oe.package.runstrip, sfiles)) |
901 | pool.close() | 901 | pool.close() |
902 | pool.join() | 902 | pool.join() |
903 | 903 | ||
@@ -1249,7 +1249,7 @@ python package_do_filedeps() { | |||
1249 | import multiprocessing | 1249 | import multiprocessing |
1250 | nproc = multiprocessing.cpu_count() | 1250 | nproc = multiprocessing.cpu_count() |
1251 | pool = bb.utils.multiprocessingpool(nproc) | 1251 | pool = bb.utils.multiprocessingpool(nproc) |
1252 | processed = pool.imap(oe.package.filedeprunner, pkglist) | 1252 | processed = list(pool.imap(oe.package.filedeprunner, pkglist)) |
1253 | pool.close() | 1253 | pool.close() |
1254 | pool.join() | 1254 | pool.join() |
1255 | 1255 | ||