summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2018-07-20 15:15:38 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-07-24 11:52:27 +0100
commitadea90740d45628685d0828b3103109432c25857 (patch)
treede9b7412ee9be68611111fe9bc49e204e683872d /meta/classes
parent1d8924f1727d3d3c954d4c9002fe8827552bf5bf (diff)
downloadpoky-adea90740d45628685d0828b3103109432c25857.tar.gz
package/package_manager: multiprocess_exec -> multiprocess_launch
After this replacement, the parent exception handling works so we don't need subprocess wrapping with bb.error in the underlying functions. The underlying contexts also have better module handling so the imports can be cleaned up. (From OE-Core rev: aa8260adf53139d776a2affe6118d28b295c1fab) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-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 2fab39005c..df5206bda9 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -1105,7 +1105,7 @@ python split_and_strip_files () {
1105 for f in kernmods: 1105 for f in kernmods:
1106 sfiles.append((f, 16, strip)) 1106 sfiles.append((f, 16, strip))
1107 1107
1108 oe.utils.multiprocess_exec(sfiles, oe.package.runstrip) 1108 oe.utils.multiprocess_launch(oe.package.runstrip, sfiles, d)
1109 1109
1110 # 1110 #
1111 # End of strip 1111 # End of strip
@@ -1541,7 +1541,7 @@ python package_do_filedeps() {
1541 for files in chunks(pkgfiles[pkg], 100): 1541 for files in chunks(pkgfiles[pkg], 100):
1542 pkglist.append((pkg, files, rpmdeps, pkgdest)) 1542 pkglist.append((pkg, files, rpmdeps, pkgdest))
1543 1543
1544 processed = oe.utils.multiprocess_exec( pkglist, oe.package.filedeprunner) 1544 processed = oe.utils.multiprocess_launch(oe.package.filedeprunner, pkglist, d)
1545 1545
1546 provides_files = {} 1546 provides_files = {}
1547 requires_files = {} 1547 requires_files = {}