oemaker/README.md

69 lines
1.8 KiB
Markdown
Raw Normal View History

2020-08-07 15:26:11 +08:00
# oemaker
#### 介绍
2021-03-19 20:17:30 +08:00
源码包oemaker保护两部分功能iso制作和iso裁剪。相应的会构建生成两个二进制RPM包oemaker和isocut.
2021-09-28 11:00:28 +08:00
生成的二进制RPM包oemaker是一款用于构建DVD iso的工具包括标准isodebug iso, source iso, everything iso, everything debug iso, everything source, edge computing iso and netinst iso等
2021-03-19 20:17:30 +08:00
生成的二进制RPM包isocut是一款用于iso裁剪的构建工具支持RPM包级别的裁剪。
2020-08-07 15:26:11 +08:00
#### 安装教程
2021-03-19 20:17:30 +08:00
可以用`rpm``dnf`命令通过openEuler repository来安装`oemaker``isocut`包。
2020-08-07 15:26:11 +08:00
2021-03-19 20:17:30 +08:00
用dnf命令安装`oemaker`方式:
2020-08-07 15:26:11 +08:00
```sh
dnf install -y oemaker
```
2021-03-19 20:17:30 +08:00
用dnf命令安装`isocut`方式:
```sh
dnf install -y isocut
```
2020-08-07 15:26:11 +08:00
#### 使用说明
一般要求磁盘空间大于50G
#### 使用方法
2021-03-19 20:17:30 +08:00
##### oemaker
2020-08-07 15:26:11 +08:00
oemaker <font color=#0000FF >_[-h] [-t Type] [-p Product] [-v Version] [-r RELEASE] [-s REPOSITORY]_</font>
optional arguments:
-t Type
2021-02-08 18:05:45 +08:00
ISO Type include standard debug source everything everything_debug everything_src and netinst
2020-08-07 15:26:11 +08:00
-p Product
Product Name, such as: openEuler
-v Version
version identifier
-r RELEASE
release information
-s REPOSITORY
source dnf repository address link(may be listed multiple times)
-h
show the help message and exit
2021-03-19 20:17:30 +08:00
##### isocut
2022-04-13 16:29:10 +08:00
isocut <font color=#0000FF >_[-h] [-t temporary path] [-r extern rpm path] origin-iso dest-iso_</font>
2021-03-19 20:17:30 +08:00
positional arguments:
origin-iso origin iso image
dest-iso destination iso image
optional arguments:
-t the temporary path which must be an absolute path and must be greater than 8g
-r extern rpm packages path
-h show the help message and exit