Browse Source

Enable multithreaded XZ.

pull/71/head
luigifcruz 2 years ago
parent
commit
0a6121d896
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      export-image/04-finalise/01-run.sh

+ 1
- 1
export-image/04-finalise/01-run.sh View File

@@ -98,7 +98,7 @@ fi


if [ "${DEPLOY_ZIP}" == "1" ]; then if [ "${DEPLOY_ZIP}" == "1" ]; then
pushd "${STAGE_WORK_DIR}" > /dev/null 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 popd > /dev/null
rm -f "${DEPLOY_DIR}/${IMG_FILENAME}${IMG_SUFFIX}.img" rm -f "${DEPLOY_DIR}/${IMG_FILENAME}${IMG_SUFFIX}.img"
else else


Loading…
Cancel
Save