Skip to content

Commit d04e352

Browse files
[build] Remove compression of raw image (sonic-net#16462)
1 parent d758e44 commit d04e352

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

build_image.sh

+1-9
Original file line numberDiff line numberDiff line change
@@ -151,15 +151,7 @@ elif [ "$IMAGE_TYPE" = "raw" ]; then
151151
exit 1
152152
}
153153

154-
$GZ_COMPRESS_PROGRAM $OUTPUT_RAW_IMAGE
155-
156-
[ -r $OUTPUT_RAW_IMAGE.gz ] || {
157-
echo "Error : $GZ_COMPRESS_PROGRAM $OUTPUT_RAW_IMAGE failed!"
158-
exit 1
159-
}
160-
161-
mv $OUTPUT_RAW_IMAGE.gz $OUTPUT_RAW_IMAGE
162-
echo "The compressed raw image is in $OUTPUT_RAW_IMAGE"
154+
echo "The raw image is in $OUTPUT_RAW_IMAGE"
163155

164156
elif [ "$IMAGE_TYPE" = "kvm" ]; then
165157

0 commit comments

Comments
 (0)