diff --git a/ok3568/scripts/pre_pack.sh b/ok3568/scripts/pre_pack.sh index 81b56f5a003e1e1ebba416775556470eb9d65d67..b75f024d51030d12785c6104d6e7fb2fbb794cb5 100644 --- a/ok3568/scripts/pre_pack.sh +++ b/ok3568/scripts/pre_pack.sh @@ -25,6 +25,7 @@ function pre_pack() { exit 1 fi + chmod u+x $BOARD_PATH/third_party/tools/resource_tool $BOARD_PATH/third_party/tools/resource_tool $BOARD_PACK_BUILD_PATH/rk3568.dtb 2>/dev/null if [ $? != 0 ]; then echo "Error: generating resource.img file failed." @@ -45,6 +46,7 @@ function pre_pack() { sed -i "s/{{KERNEL_IMG}}/${kernel_image//\//\\/}/g" $target_its_file sed -i "s/{{RESOURCE_IMG}}/${resource_file//\//\\/}/g" $target_its_file + chmod u+x $BOARD_PATH/third_party/tools/mkimage $BOARD_PATH/third_party/tools/mkimage -f $target_its_file -E -p 0x800 $pack_img_file >/dev/null 2>&1 if [ $? != 0 ]; then echo "Error: generating boot.img file failed." diff --git a/util.sh b/util.sh old mode 100755 new mode 100644