Revert "[scripts] post_mmc_image_script.sh: remove uncompressed image once compressed"

This reverts commit 6f674c5fb6.
This commit is contained in:
Fabio Erculiani 2011-12-29 21:10:23 +01:00
parent 6f674c5fb6
commit c804de1695

View File

@ -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 ${?}