diff --git a/common/build.sh b/common/build.sh index e9471b1..12375d4 100755 --- a/common/build.sh +++ b/common/build.sh @@ -229,6 +229,7 @@ function build_ota_ab_updateimg(){ cd $PACK_TOOL_DIR/rockdev && ln -fs ota-package-file package-file && ./mkupdate.sh && cd - mv $PACK_TOOL_DIR/rockdev/update.img $IMAGE_PATH/update_ota.img cd $PACK_TOOL_DIR/rockdev && ln -fs $source_package_file_name package-file && cd - + build_updateimg if [ $? -eq 0 ]; then echo "Make update ota ab image ok!" else