[build] Remove compression of raw image (#16462)

This commit is contained in:
Arun Saravanan Balachandran
2023-09-07 21:49:17 +05:30
committed by GitHub
parent d758e44c2c
commit d04e3523cd

View File

@@ -151,15 +151,7 @@ elif [ "$IMAGE_TYPE" = "raw" ]; then
exit 1
}
$GZ_COMPRESS_PROGRAM $OUTPUT_RAW_IMAGE
[ -r $OUTPUT_RAW_IMAGE.gz ] || {
echo "Error : $GZ_COMPRESS_PROGRAM $OUTPUT_RAW_IMAGE failed!"
exit 1
}
mv $OUTPUT_RAW_IMAGE.gz $OUTPUT_RAW_IMAGE
echo "The compressed raw image is in $OUTPUT_RAW_IMAGE"
echo "The raw image is in $OUTPUT_RAW_IMAGE"
elif [ "$IMAGE_TYPE" = "kvm" ]; then