From 51298606c4d672766f36766800498ddab7cd7946 Mon Sep 17 00:00:00 2001 From: x30004928 Date: Wed, 13 Apr 2022 17:23:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0readme=E6=96=87=E6=A1=A3?= =?UTF-8?q?=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.en.md | 43 +++++++++++++++++++++++++++++++++++-------- README.md | 35 ++++++++++++++++++++++++++++++----- 2 files changed, 65 insertions(+), 13 deletions(-) diff --git a/README.en.md b/README.en.md index 3643571..3ae8985 100644 --- a/README.en.md +++ b/README.en.md @@ -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 _[-h] [-t Type] [-p Product] [-v Version] [-r RELEASE] [-s REPOSITORY]_ - optional arguments: + optional arguments: -t Type ISO Type include standard debug source everything everything_debug everything_src and netinst @@ -38,3 +47,21 @@ oemaker _[-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 _[-h] [-t temporary path] [-r extern rpm path] origin-iso dest-iso_ + + 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 diff --git a/README.md b/README.md index eb980ac..8efd9f2 100644 --- a/README.md +++ b/README.md @@ -1,19 +1,27 @@ # oemaker #### 介绍 -oemaker是一款用于构建DVD iso的工具,包括标准iso,debug 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的工具,包括标准iso,debug 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 _[-h] [-t Type] [-p Product] [-v Version] [-r RELEASE] [-s REPOSITORY]_ optional arguments: @@ -41,3 +51,18 @@ oemaker _[-h] [-t Type] [-p Product] [-v Version] [-r RELEA -h show the help message and exit + +##### isocut + +isocut _[-h] [-t temporary path] [-r extern rpm path] origin-iso dest-iso_ + + 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