From 6a5086522ce8cbcbacaf516f12d9f3cc45bf6271 Mon Sep 17 00:00:00 2001 From: luigifcruz Date: Fri, 24 Dec 2021 14:07:52 -0300 Subject: [PATCH] Add multicore compression. --- export-image/04-finalise/01-run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/export-image/04-finalise/01-run.sh b/export-image/04-finalise/01-run.sh index 7af3226..b8f57e4 100755 --- a/export-image/04-finalise/01-run.sh +++ b/export-image/04-finalise/01-run.sh @@ -98,7 +98,7 @@ fi if [ "${DEPLOY_ZIP}" == "1" ]; then pushd "${STAGE_WORK_DIR}" > /dev/null - xz -c "$(basename "${IMG_FILE}")" > "${DEPLOY_DIR}/${ZIP_FILENAME}${IMG_SUFFIX}.img.xz" + xz -T16 -c "$(basename "${IMG_FILE}")" > "${DEPLOY_DIR}/${ZIP_FILENAME}${IMG_SUFFIX}.img.xz" popd > /dev/null rm -f "${DEPLOY_DIR}/${IMG_FILENAME}${IMG_SUFFIX}.img" else