源码获取
下载源码
mkdir oh5
cd oh5
repo init -u git@gitee.com:riscv-sig/manifest.git -b riscv/OpenHarmony-v5.0.0-Release --no-repo-verify
## 如果repo init过程中下载repo失败(概率出现过),使用国内源
## 后面添加参数 --repo-url=https://gerrit-googlesource.lug.ustc.edu.cn/git-repo
repo sync -j4 -c --fail-fast
## 3小时左右
## 出现报错及时处理
repo forall -c 'git lfs pull'
## 拉一些大文件,haps,音视频等,2小时左右
repo start OpenHarmony-v5.0.0-Release --all