Revert "[scripts] post_mmc_image_script.sh: remove uncompressed image once compressed"
This reverts commit 6f674c5fb6
.
This commit is contained in:
parent
6f674c5fb6
commit
c804de1695
@ -23,10 +23,6 @@ xz --compress --force "${IMAGE_PATH}" || exit 1
|
||||
|
||||
cd "$(dirname "${COMPRESSED_IMAGE_PATH}")" || exit 1
|
||||
img_name=$(basename "${COMPRESSED_IMAGE_PATH}")
|
||||
md5sum "${img_name}" > "${COMPRESSED_IMAGE_CHECKSUM_PATH}" || exit 1
|
||||
|
||||
# remove uncompressed image
|
||||
rm "${IMAGE_PATH}" "${IMAGE_CHECKSUM_PATH}"
|
||||
|
||||
md5sum "${img_name}" > "${COMPRESSED_IMAGE_CHECKSUM_PATH}"
|
||||
exit ${?}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user