# oemaker
**Repository Path**: openeuler/oemaker
## Basic Information
- **Project Name**: oemaker
- **Description**: a building tool for making DVD ISO
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 17
- **Forks**: 64
- **Created**: 2020-07-30
- **Last Updated**: 2025-10-24
## Categories & Tags
**Categories**: Uncategorized
**Tags**: sig-OS-Builder
## README
# oemaker
#### 介绍
`oemaker`源码包拥有三部分功能:iso 格式光盘映像的制作和裁剪和通用编译环境制作。相应地,`oemaker` 源码包会生成三个软件包:`oemaker` 和 `isocut` 和 `envmaker`。
生成的二进制 RPM 包 `oemaker` 是用于制作 DVD 光盘映像的构建工具,可制作的映像包括 standard iso、debug iso、source iso、everything iso、everything source iso、everything debug iso livecd iso 和 netinst iso。
生成的二进制 RPM 包 `isocut` 是用于裁剪光盘映像的构建工具,支持在 RPM 包级别进行裁剪。
生成的二进制 RPM 包 `envmaker` 是用于制作通用编译环境的构建工具。
#### 安装教程
可以使用 `rpm` 或 `dnf` 软件包管理器命令通过 openEuler repository 来安装 `oemaker` 和 `isocut` 和 `envmaker`。
使用 `dnf` 安装 `oemaker`
```sh
dnf install -y oemaker
```
使用 `dnf` 安装 `isocut`
```sh
dnf install -y isocut
```
使用 `dnf` 安装 `envmaker`
```sh
dnf install -y envmaker
```
#### 使用说明
一般要求磁盘空间大于 50G。
#### 使用方法
##### oemaker
oemaker _[-h] [-t Type] [-p Product] [-v Version] [-r RELEASE] [-s REPOSITORY]_
  可选参数:
    -t    ISO type, including standard, debug, source, everything, everything_debug, everything_src, livecd, and netinst 
    -p    Product name, for example, openEuler
    -v    Version number
    -r    Release information
    -s    Source dnf repository address link (may be listed multiple times)
    -h    Show the help message and exit
##### isocut
isocut _[-h] [-t temporary path] [-r extern rpm path] [-k kickstart file path] origin-iso dest-iso_
  位置参数:
    origin-iso    origin iso image
    dest-iso      destination iso image
  可选参数:
    -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
    -p    The product name
    -v    The version number
    -i    The path of background pictures during the installation
    -h    Show the help message and exit
    -c    Cut packages, yes/no, default is yes
  命令示例:
  
    sudo isocut -t /home/temp /home/isocut_iso/openEuler-24.03-LTS-riscv64-dvd.iso /home/result/new.iso
##### envmaker
envmaker _[-p Product] [-v Version]_
  可选参数:
  
    -p    Product name,for example, openEuler_compile_env
    -v    Version identifier