Skip to content
Snippets Groups Projects
Commit 387ab7e6 authored by Bob Mottram's avatar Bob Mottram
Browse files

Reduce threads to avoid overheating

parent 04bf31c1
No related branches found
No related tags found
No related merge requests found
......@@ -257,8 +257,8 @@ else
fi
fi
fi
echo $"Compressing image with 3 threads" >> "$build_log_filename"
if ! xz --no-warn --verbose --keep --threads=3 -3 "${build_directory}"/*.img >> "$build_log_filename"; then
echo $"Compressing image with 2 threads" >> "$build_log_filename"
if ! xz --no-warn --verbose --keep --threads=2 -3 "${build_directory}"/*.img >> "$build_log_filename"; then
exit 40
fi
# shellcheck disable=SC2115,SC2086
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment