Use unxz to unarchive image

This commit is contained in:
Oleg Kalachev
2024-02-06 16:06:51 +03:00
parent 24c15f6e65
commit bf29e87cea

View File

@@ -71,7 +71,7 @@ get_image() {
echo_stamp "Unzipping Linux distribution image"
apt-get update && apt-get install -y xz-utils
xz -d -v ${BUILD_DIR}/${RPI_ZIP_NAME}
unxz ${BUILD_DIR}/${RPI_ZIP_NAME}
}
get_image ${IMAGE_PATH} ${SOURCE_IMAGE}