[build] Remove compression of raw image (#16462)
This commit is contained in:
parent
d758e44c2c
commit
d04e3523cd
@ -151,15 +151,7 @@ elif [ "$IMAGE_TYPE" = "raw" ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
$GZ_COMPRESS_PROGRAM $OUTPUT_RAW_IMAGE
|
echo "The raw image is in $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"
|
|
||||||
|
|
||||||
elif [ "$IMAGE_TYPE" = "kvm" ]; then
|
elif [ "$IMAGE_TYPE" = "kvm" ]; then
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user