summaryrefslogtreecommitdiffstats
path: root/scripts/lib/ptxd_make_world_extract.sh
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2015-05-17 15:01:06 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2015-05-26 07:21:42 +0200
commit4111f6560d0909f7368a21727fdf56e067100968 (patch)
tree06ec3755c75393b6785b56840825ebcbdd64add7 /scripts/lib/ptxd_make_world_extract.sh
parent1528dd4e357d41617c82b1dbd2c4f3dbc6af71ea (diff)
downloadptxdist-4111f6560d0909f7368a21727fdf56e067100968.tar.gz
ptxdist-4111f6560d0909f7368a21727fdf56e067100968.tar.xz
limit parallel downloading and extracting for parallel building
Currently the number of parallel downloads is limited to 4 and the number of extract jobs to 2. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts/lib/ptxd_make_world_extract.sh')
-rw-r--r--scripts/lib/ptxd_make_world_extract.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/lib/ptxd_make_world_extract.sh b/scripts/lib/ptxd_make_world_extract.sh
index dc32f7548..955c4872b 100644
--- a/scripts/lib/ptxd_make_world_extract.sh
+++ b/scripts/lib/ptxd_make_world_extract.sh
@@ -60,6 +60,7 @@ ptxd_make_world_extract() {
mkdir -p "${pkg_extract_dir}" || return
+ ptxd_make_serialize_take
echo "\
extract: pkg_src=$(ptxd_print_path ${pkg_src})
extract: pkg_extract_dir=$(ptxd_print_path ${pkg_dir})"
@@ -83,6 +84,7 @@ extract: pkg_extract_dir=$(ptxd_print_path ${pkg_dir})"
fi
local ret=$?
rm -rf "${tmpdir}"
+ ptxd_make_serialize_put
return ${ret}
}