Verified Commit 1b1c1150 authored by Dan Johansen's avatar Dan Johansen
Browse files

[buildarmimg][buildemmcinstaller] remove previous img.xz if it exists

parent 44bbc49c
......@@ -452,6 +452,10 @@ create_img() {
compress() {
if [ -f $IMGDIR/$IMGNAME.img.xz ]; then
info "Removing existing compressed image file {$IMGNAME.img.xz}..."
rm -rf $IMGDIR/$IMGNAME.img.xz
info "Compressing $IMGNAME.img..."
#compress img
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment