tools-musl/run.sh: parallelize musl run
This commit is contained in:
parent
2a8047d9c9
commit
7a409c0310
|
@ -43,19 +43,19 @@ main() {
|
||||||
catalyst -s current | tee -a zzz.log >snapshot.log 2>snapshot.err
|
catalyst -s current | tee -a zzz.log >snapshot.log 2>snapshot.err
|
||||||
|
|
||||||
for arch in amd64 i686; do
|
for arch in amd64 i686; do
|
||||||
for flavor in vanilla hardened; do
|
for flavor in hardened vanilla; do
|
||||||
prepare_confs ${arch} ${flavor}
|
prepare_confs ${arch} ${flavor}
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# The parallelization `( do_stages ... ) &` doesn't work here
|
||||||
|
# if catalyst is using snapcache, bug #519656
|
||||||
for arch in amd64 i686; do
|
for arch in amd64 i686; do
|
||||||
for flavor in vanilla hardened; do
|
for flavor in hardened vanilla; do
|
||||||
|
(
|
||||||
do_stages ${arch} ${flavor}
|
do_stages ${arch} ${flavor}
|
||||||
ret=$?
|
[[ $? == 1 ]] && echo "FAILURE at ${arch} ${flavor} " | tee zzz.log
|
||||||
if [[ $? == 1 ]]; then
|
) &
|
||||||
echo "FAILURE at ${arch} ${flavor} " | tee zzz.log
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue