summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/classes/package.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index f25f5671e5..8e6029a0a3 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -906,7 +906,7 @@ python split_and_strip_files () {
import multiprocessing
nproc = multiprocessing.cpu_count()
pool = bb.utils.multiprocessingpool(nproc)
- processed = pool.imap(oe.package.runstrip, sfiles)
+ processed = list(pool.imap(oe.package.runstrip, sfiles))
pool.close()
pool.join()
@@ -1265,7 +1265,7 @@ python package_do_filedeps() {
import multiprocessing
nproc = multiprocessing.cpu_count()
pool = bb.utils.multiprocessingpool(nproc)
- processed = pool.imap(oe.package.filedeprunner, pkglist)
+ processed = list(pool.imap(oe.package.filedeprunner, pkglist))
pool.close()
pool.join()