Score
0
Watch 40 Star 110 Fork 14

Jasen / cetusCGPL-2.0

Clone or download
cetus-rpm.md
Copy Edit Raw Normal History
liuyanlei25   Add files via upload 2018-03-06
# Cetus rpm说明##  简介Cetus rpm打包流程及安装## 打包流程### 1. 创建打包环境```mkdir rpmbuild/cd rpmbuild/ mkdir -pv {BUILD,BUILDROOT,RPMS,SOURCES,SPECS,SRPMS} ```### 2. 下载源码,压缩成tar.gz格式,放入SOURCES中```
王斌   Update cetus-rpm.md 2018-04-02
git clone https://github.com/Lede-Inc/cetus.gittar zcvf cetus-version.tar.gz cetus/
liuyanlei25   Add files via upload 2018-03-06
```### 3. 将cetus的原spec文件放入SPECS中,编辑sepc文件,修改版本号和释出号等信息```#版本号,与tar.gz包的一致Version:        version#释出号,也就是第几次制作rpmRelease:        release%{?dist}```### 4.增加日志段```%changelog* Week month day year packager<email> - cetus-version-release- do something```## 安装安装命令如下:```rpm -ivh --prefix /home/user/cetus_install cetus-version-release.el7.x86_64.rpm
王斌   Update cetus-rpm.md 2018-04-02
```
C
1
https://gitee.com/gitcrazy/cetus.git
git@gitee.com:gitcrazy/cetus.git
gitcrazy
cetus
cetus
9c17231e82d51c80f4c8804d3082e7bb65e1b2d4

Help Search