/
4.2.5 使用FDE仓库编译redroid镜像

4.2.5 使用FDE仓库编译redroid镜像

1. 安装repo

curl https://mirrors.tuna.tsinghua.edu.cn/git/git-repo -o repo && sudo mv repo  /usr/bin/repo && chmod +x /usr/bin/repo

或者

sudo apt install repo 

2. 修改repo下载源

vim /usr/bin/repo

142 REPO_URL = os.environ.get('REPO_URL', None) 143 if not REPO_URL: 144 RO_URL = 'https://mirrors.tuna.tsinghua.edu.cn/git/git-repo'

将144行改成清华源,这样可以节省时间。保存后退出。

3. 初始化下载仓库位置

项目最新使用的代码需要将上面“12.0.0”分支名改为“fde”,编译时lunch 50

4. 开始下载代码

5. 创建编译环境

10.31.91.66 服务器上存在 redroid-builder镜像

6. 制作docker 镜像

退出容器 exit

7. 提交代码到远程仓库注意事项

我们后面提交代码一般都是提交到远程fde分支,如果该project之前没有远程分支,提交时会创建,但是需要修改manifest文件(fde分支)指定该project的版本为fde,确保repo init拉到对的版本。

 

Add label

Related content

4.2.4 使用FDE仓库编译waydroid
4.2.4 使用FDE仓库编译waydroid
More like this
Android APK编译
Android APK编译
More like this
AOSP镜像和Linux程序编译
AOSP镜像和Linux程序编译
More like this
树莓派安装OpenFDE
树莓派安装OpenFDE
More like this
Ubuntu(22.04|24.04)上安装OpenFDE
Ubuntu(22.04|24.04)上安装OpenFDE
More like this
统信OS安装OpenFDE
统信OS安装OpenFDE
More like this