2020-08-07 15:26:11 +08:00
|
|
|
|
# oemaker
|
|
|
|
|
|
|
|
|
|
|
|
#### 介绍
|
2021-03-19 20:17:30 +08:00
|
|
|
|
|
|
|
|
|
|
源码包oemaker保护两部分功能:iso制作和iso裁剪。相应的,会构建生成两个二进制RPM包:oemaker和isocut.
|
|
|
|
|
|
|
|
|
|
|
|
生成的二进制RPM包oemaker是一款用于构建DVD iso的工具,包括标准iso,debug iso, source iso, everything iso, everything debug iso, everything source and netinst iso等。
|
|
|
|
|
|
|
|
|
|
|
|
生成的二进制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
|
|
|
|
|
|
|
|
|
|
|
|
isocut <font color=#0000FF >_[-h] [-t temporary path] [-r extern rpm path] [-k kickstart file path] origin-iso dest-iso_</font>
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
-k kickstart file path
|
|
|
|
|
|
-h show the help message and exit
|