build.sh:

fix ./build.sh updateimg error.

Change-Id: I5eb870fa4c9bc109ccf99831d4712c15d2e17037
Signed-off-by: jkand.huang <jkand.huang@rock-chips.com>
This commit is contained in:
jkand.huang
2019-01-10 22:15:30 +08:00
parent 59467654fb
commit ba0c195ae2

View File

@ -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