2020-08-07 15:26:11 +08:00
# oemaker
#### Description
2023-05-16 22:44:01 +08:00
The source package `oemaker` has three functions: ISO making and splitting and compile_env making. Accordingly, three software packages are generated: `oemaker` and `isocut` and `envmaker` .
2021-03-19 20:17:30 +08:00
2023-11-20 15:43:51 +08:00
The generated binary RPM `oemaker` is a build tool for making DVD ISOs, including the Standard ISO, Debug ISO, Source ISO, Everything ISO, Everything Source ISO, Everything Debug ISO, LiveCD ISO, and Netinstall ISO.
2021-03-19 20:17:30 +08:00
2023-05-16 22:44:01 +08:00
The generated binary RPM `isocut` is a build tool for ISO splitting, which supports only package-level RPM.
The generated binary RPM `envmaker` is a build tool for making compile_env.
2020-08-07 15:26:11 +08:00
#### Installation
2023-05-16 22:44:01 +08:00
To install `oemaker` and `isocut` and `envmaker` , you can use the `rpm` or `dnf` package manager command with the openEuler repository.
2020-08-07 15:26:11 +08:00
2023-05-16 22:44:01 +08:00
Install `oemaker` with `dnf`
2020-08-07 15:26:11 +08:00
```sh
dnf install -y oemaker
```
2023-05-16 22:44:01 +08:00
Install `isocut` with `dnf`
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
```
#### Instruction
2020-08-07 15:26:11 +08:00
2023-05-16 22:44:01 +08:00
Generally, the disk space must be more than 50 GB.
2021-03-19 20:17:30 +08:00
#### Usage
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:
2020-08-07 15:26:11 +08:00
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
2021-03-19 20:17:30 +08:00
2023-05-16 22:44:01 +08:00
-s 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-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:
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 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
isocut 详细文档请查看《镜像裁剪定制工具使用指南》:
https://gitee.com/openeuler/docs/blob/9d89e4e41e7824f984ebc7a00b5f1241b84d1f85/docs/zh/docs/Isocut/%E9%95%9C%E5%83%8F%E8%A3%81%E5%89%AA%E5%AE%9A%E5%88%B6%E5%B7%A5%E5%85%B7%E4%BD%BF%E7%94%A8%E6%8C%87%E5%8D%97.md
##### envmaker
2021-03-19 20:17:30 +08:00
2023-05-16 22:44:01 +08:00
envmaker < font color = #0000FF > _[-p Product ] [ -v Version ] _ </ font >
2021-03-19 20:17:30 +08:00
2023-05-16 22:44:01 +08:00
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