[build][201811] Remove compression of raw image (#15154)
Why I did it To remove compression of the generated raw image during build. Work item tracking How I did it Removed usage of 'gzip' on the generated raw image. How to verify it Initiate build for 'target/sonic-broadcom.raw' and verify that the size of the raw image generated is same as RAW_IMAGE_DISK_SIZE.
This commit is contained in:
parent
d291f19a75
commit
111bb21fa5
@ -67,15 +67,7 @@ elif [ "$IMAGE_TYPE" = "raw" ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
gzip $OUTPUT_RAW_IMAGE
|
echo "The raw image is in $OUTPUT_RAW_IMAGE"
|
||||||
|
|
||||||
[ -r $OUTPUT_RAW_IMAGE.gz ] || {
|
|
||||||
echo "Error : gzip $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