ubuntu服务器中repo的安装使用
来源:互联网 发布:一个简单的c语言程序 编辑:程序博客网 时间:2024/06/06 04:24
1.新建一个目录/home/workspace/myrepo,cd到这个目录。
2.在这个目录里面执行git clone https://gerrit-googlesource.lug.ustc.edu.cn/git-repo,会clone下载repo包的git分支。
3.cd 到刚才下载的/home/workspace/myrepo/git-repo。
4.用vim修改repo文件中REPO_URL ="git-repo里面的.git文件路径",保存。
5.切换到root用户,将repo文件拷贝到/bin目录下,并chmod a+x repo修改权限。
6.在myrepo下,mkdir manifest.git; cd manifest.git,git init。
7.在上面目录下新建default.xml,添加如下内容:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="repo-server" fetch="/home/workspace/myrepo/" review="review.source.Android.com" />
<default revision="master" remote="repo-server" />
<project name="RK3288" path="RK3288"/>
</manifest>
8.执行git add default.xml,git commit -m "add default.xml"。
9.将RK3288代码移入/home/workspace/myrepo/,注意RK3288目录下必须有.git的才行。
10.在客户端目录/home/workspace/mywork/下执行repo init /home/workspace/myrepo/manifest.git,repo sync即可将RK3288代码同步到这个目录下。
- ubuntu服务器中repo的安装使用
- repo 的安装使用
- ubuntu 安装 repo 记录
- ubuntu 安装 repo 记录
- ubuntu 安装 repo 记录
- ubuntu 安装repo
- Repo命令的使用(Ubuntu)
- 多仓库代码管理器Repo的安装,使用以及服务器搭建
- Ubuntu 下配置 repo 服务器
- Ubuntu服务器14.04中fio的安装
- Ubuntu系统中使用apt-get安装Nginx服务器
- 在Ubuntu中安装Apache服务器(使用oracle java)
- 在Ubuntu中安装Apache服务器(使用openjdk java)
- Ubuntu 中安装svn服务器
- Ubuntu中安装nfs服务器
- ubuntu 中安装nginx服务器
- Ubuntu中安装TurnServer服务器
- Ubuntu中安装samba服务器
- mysql查询最新几天的数据
- 1.《Mysql必知必会》简述 MySQL基本操作
- android button light 流程分析(三) — framework
- win下使用thrift生成gen-php文件代码
- linux下编译整个Android源码树
- ubuntu服务器中repo的安装使用
- 欢迎使用CSDN-markdown编辑器
- oracle 中删除表 drop delete truncate
- JS函数传参是传值还是传引用
- View Controller 的父子关系处理(Custom Container View Controller)
- Postgis常用函数
- 22. Generate Parentheses
- m,mm,mmm区别
- java 压缩单个文件,多个文件,或者压缩文件夹