更新readme文档说明

This commit is contained in:
x30004928 2022-04-13 17:23:17 +08:00
parent a4eb371006
commit 51298606c4
2 changed files with 65 additions and 13 deletions

View File

@ -2,28 +2,37 @@
#### Description
`oemaker` is a building tool for making DVD iso, include standard iso, debug iso, source iso, everything iso, everything debug iso, everything source iso, edge computing iso and netinst iso.
`oemaker` uses local arch when building, did not support cross building.
currently, `oemaker` support the arch of aarch64 and x86_64 for iso making.
The source package `oemaker` has two functions: iso making and iso cutting. Correspondingly, two binary RPM packages are generated: `oemaker` and `isocut`.
The generated binary RPM package `oemaker` is a building tool for making DVD iso, include standard iso, debug iso, source iso, everything iso, everything source iso,everything debug iso, edge computing iso and netinst iso.
The generated binary RPM package `isocut` is a building tool for iso cutting which supports only RPM package-level.
#### Installation
To install `oemaker`, you can use `rpm` or `dnf` package manager command with openEuler repository.
To install `oemaker` and `isocut`, you can use `rpm` or `dnf` package manager command with openEuler repository.
Install oemaker with dnf
Install `oemaker` with dnf
```sh
dnf install -y oemaker
```
Install `isocut` with dnf
```sh
dnf install -y isocut
```
#### Instructions
Generally, the disk space is more than 50g
Generally, the disk space is more than 50g.
#### Contribution
#### Usage
##### oemaker
oemaker <font color=#0000FF >_[-h] [-t Type] [-p Product] [-v Version] [-r RELEASE] [-s REPOSITORY]_</font>
optional arguments:
optional arguments:
-t Type
ISO Type include standard debug source everything everything_debug everything_src and netinst
@ -38,3 +47,21 @@ oemaker <font color=#0000FF >_[-h] [-t Type] [-p Product] [-v Version] [-r RELEA
-s REPOSITORY
source dnf repository address link(may be listed multiple times)
-h
show the help message and exit
##### isocut
isocut <font color=#0000FF >_[-h] [-t temporary path] [-r extern rpm 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
-h show the help message and exit

View File

@ -1,19 +1,27 @@
# oemaker
#### 介绍
oemaker是一款用于构建DVD iso的工具包括标准isodebug iso, source iso, everything iso, everything debug iso, everything source iso, edge computing iso and netinst iso等。
oemaker采用的是本地架构的方式进行构建不支持交叉编译环境构建。
目前oemkaer支持aarch64和x86_64两个架构的iso制作。
源码包oemaker保护两部分功能iso制作和iso裁剪。相应的会构建生成两个二进制RPM包oemaker和isocut.
生成的二进制RPM包oemaker是一款用于构建DVD iso的工具包括标准isodebug iso, source iso, everything iso, everything debug iso, everything source, edge computing iso and netinst iso等
生成的二进制RPM包isocut是一款用于iso裁剪的构建工具支持RPM包级别的裁剪。
#### 安装教程
可以用rpm命令或dnf包管理命令通过openEuler repository安装oemaker包。
可以用`rpm``dnf`命令通过openEuler repository来安装`oemaker``isocut`包。
用dnf命令安装方式
用dnf命令安装`oemaker`方式:
```sh
dnf install -y oemaker
```
用dnf命令安装`isocut`方式:
```sh
dnf install -y isocut
```
#### 使用说明
一般要求磁盘空间大于50G
@ -21,6 +29,8 @@ dnf install -y oemaker
#### 使用方法
##### oemaker
oemaker <font color=#0000FF >_[-h] [-t Type] [-p Product] [-v Version] [-r RELEASE] [-s REPOSITORY]_</font>
optional arguments:
@ -41,3 +51,18 @@ oemaker <font color=#0000FF >_[-h] [-t Type] [-p Product] [-v Version] [-r RELEA
-h
show the help message and exit
##### isocut
isocut <font color=#0000FF >_[-h] [-t temporary path] [-r extern rpm 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
-h show the help message and exit