2020-08-07 15:26:11 +08:00
|
|
|
|
# oemaker
|
|
|
|
|
|
|
|
|
|
|
|
#### 介绍
|
2021-03-19 20:17:30 +08:00
|
|
|
|
|
2023-05-16 22:44:01 +08:00
|
|
|
|
`oemaker`源码包拥有三部分功能:iso 格式光盘映像的制作和裁剪和通用编译环境制作。相应地,`oemaker` 源码包会生成三个软件包:`oemaker` 和 `isocut` 和 `envmaker`。
|
2021-03-19 20:17:30 +08:00
|
|
|
|
|
2023-11-20 15:43:51 +08:00
|
|
|
|
生成的二进制 RPM 包 `oemaker` 是用于制作 DVD 光盘映像的构建工具,可制作的映像包括 standard iso、debug iso、source iso、everything iso、everything source iso、everything debug iso livecd iso 和 netinst iso。
|
2021-03-19 20:17:30 +08:00
|
|
|
|
|
2023-05-16 22:44:01 +08:00
|
|
|
|
生成的二进制 RPM 包 `isocut` 是用于裁剪光盘映像的构建工具,支持在 RPM 包级别进行裁剪。
|
|
|
|
|
|
|
|
|
|
|
|
生成的二进制 RPM 包 `envmaker` 是用于制作通用编译环境的构建工具。
|
2020-08-07 15:26:11 +08:00
|
|
|
|
|
|
|
|
|
|
#### 安装教程
|
|
|
|
|
|
|
2023-05-16 22:44:01 +08:00
|
|
|
|
可以使用 `rpm` 或 `dnf` 软件包管理器命令通过 openEuler repository 来安装 `oemaker` 和 `isocut` 和 `envmaker`。
|
2020-08-07 15:26:11 +08:00
|
|
|
|
|
2023-05-16 22:44:01 +08:00
|
|
|
|
使用 `dnf` 安装 `oemaker`
|
2020-08-07 15:26:11 +08:00
|
|
|
|
```sh
|
|
|
|
|
|
dnf install -y oemaker
|
|
|
|
|
|
```
|
|
|
|
|
|
|
2023-05-16 22:44:01 +08:00
|
|
|
|
使用 `dnf` 安装 `isocut`
|
2021-03-19 20:17:30 +08:00
|
|
|
|
```sh
|
|
|
|
|
|
dnf install -y isocut
|
|
|
|
|
|
```
|
|
|
|
|
|
|
2023-05-16 22:44:01 +08:00
|
|
|
|
使用 `dnf` 安装 `envmaker`
|
|
|
|
|
|
```sh
|
|
|
|
|
|
dnf install -y envmaker
|
|
|
|
|
|
```
|
2020-08-07 15:26:11 +08:00
|
|
|
|
|
2023-05-16 22:44:01 +08:00
|
|
|
|
#### 使用说明
|
2020-08-07 15:26:11 +08:00
|
|
|
|
|
2023-05-16 22:44:01 +08:00
|
|
|
|
一般要求磁盘空间大于 50G。
|
2020-08-07 15:26:11 +08:00
|
|
|
|
|
|
|
|
|
|
#### 使用方法
|
|
|
|
|
|
|
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>
|
|
|
|
|
|
|
2023-05-16 22:44:01 +08:00
|
|
|
|
Optional arguments:
|
|
|
|
|
|
|
2023-11-20 15:43:51 +08:00
|
|
|
|
-t ISO type, including standard, debug, source, everything, everything_debug, everything_src, livecd, and netinst
|
2020-08-07 15:26:11 +08:00
|
|
|
|
|
2023-05-16 22:44:01 +08:00
|
|
|
|
-p Product name, for example, openEuler
|
2020-08-07 15:26:11 +08:00
|
|
|
|
|
2023-05-16 22:44:01 +08:00
|
|
|
|
-v Version number
|
2020-08-07 15:26:11 +08:00
|
|
|
|
|
2023-05-16 22:44:01 +08:00
|
|
|
|
-r Release information
|
2020-08-07 15:26:11 +08:00
|
|
|
|
|
2023-05-16 22:44:01 +08:00
|
|
|
|
-s Source dnf repository address link (may be listed multiple times)
|
2020-08-07 15:26:11 +08:00
|
|
|
|
|
2023-05-16 22:44:01 +08:00
|
|
|
|
-h Show the help message and exit
|
2021-03-19 20:17:30 +08:00
|
|
|
|
|
|
|
|
|
|
##### isocut
|
|
|
|
|
|
|
2022-04-28 17:01:34 +08:00
|
|
|
|
isocut <font color=#0000FF >_[-h] [-t temporary path] [-r extern rpm path] [-k kickstart file path] origin-iso dest-iso_</font>
|
2021-03-19 20:17:30 +08:00
|
|
|
|
|
2023-05-16 22:44:01 +08:00
|
|
|
|
Positional arguments:
|
2021-03-19 20:17:30 +08:00
|
|
|
|
|
|
|
|
|
|
origin-iso origin iso image
|
|
|
|
|
|
dest-iso destination iso image
|
|
|
|
|
|
|
2023-05-16 22:44:01 +08:00
|
|
|
|
Optional arguments:
|
|
|
|
|
|
|
|
|
|
|
|
-t The temporary path, which must be an absolute path and must be greater than 8 GB
|
|
|
|
|
|
|
|
|
|
|
|
-r The external RPM package path
|
|
|
|
|
|
|
|
|
|
|
|
-k The kickstart file path
|
|
|
|
|
|
|
2023-05-19 18:15:02 +08:00
|
|
|
|
-p The product name
|
2023-05-16 22:44:01 +08:00
|
|
|
|
|
2023-05-19 18:15:02 +08:00
|
|
|
|
-v The version number
|
2023-05-16 22:44:01 +08:00
|
|
|
|
|
2023-05-23 18:14:17 +08:00
|
|
|
|
-i The path of background pictures during the installation
|
2023-05-16 22:44:01 +08:00
|
|
|
|
|
|
|
|
|
|
-h Show the help message and exit
|
|
|
|
|
|
|
2023-11-21 10:48:59 +08:00
|
|
|
|
-c Cut packages, yes/no, default is yes
|
2023-11-20 15:43:51 +08:00
|
|
|
|
|
2023-05-16 22:44:01 +08:00
|
|
|
|
##### envmaker
|
|
|
|
|
|
|
|
|
|
|
|
envmaker <font color=#0000FF >_[-p Product] [-v Version]_</font>
|
|
|
|
|
|
|
|
|
|
|
|
Optional arguments:
|
|
|
|
|
|
|
|
|
|
|
|
-p Product name,for example, openEuler_compile_env
|
2021-03-19 20:17:30 +08:00
|
|
|
|
|
2023-05-16 22:44:01 +08:00
|
|
|
|
-v Version identifier
|