From 81df68f63f7792f803e91d0d026c63f39b561c87 Mon Sep 17 00:00:00 2001 From: liuym2022 <1461204592@qq.com> Date: Wed, 24 Sep 2025 16:48:10 +0000 Subject: [PATCH 1/2] update README.md. Added a command example. Signed-off-by: liuym2022 <1461204592@qq.com> --- README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9da70e2..db1665e 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Install `isocut` with `dnf` dnf install -y isocut ``` -使用 `dnf` 安装 `envmaker` +Install `envmaker` with `dnf` ```sh dnf install -y envmaker ``` @@ -80,9 +80,14 @@ isocut _[-h] [-t temporary path] [-r extern rpm path] [-k k -c Cut packages, yes/no, default is yes - isocut 详细文档请查看《镜像裁剪定制工具使用指南》: + Command example: + + sudo isocut -t /home/temp /home/isocut_iso/openEuler-24.03-LTS-riscv64-dvd.iso /home/result/new.iso + + + For detailed documentation on isocut, please refer to User Guide for Image Customization Tool: - 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 + https://gitee.com/openeuler/docs-centralized/blob/stable2-24.03_LTS/docs/zh/docs/TailorCustom/isocut%E4%BD%BF%E7%94%A8%E6%8C%87%E5%8D%97.md ##### envmaker -- Gitee From 5949f2d36fc9793926a421c418b432cfccb5bca1 Mon Sep 17 00:00:00 2001 From: liuym2022 <1461204592@qq.com> Date: Wed, 24 Sep 2025 16:50:11 +0000 Subject: [PATCH 2/2] =?UTF-8?q?update=20README.zh.md.=20=E4=B8=BA=20isocut?= =?UTF-8?q?=20=E8=A1=A5=E5=85=85=E5=91=BD=E4=BB=A4=E7=A4=BA=E4=BE=8B?= =?UTF-8?q?=EF=BC=8C=E5=B0=86=E5=8F=82=E6=95=B0=E8=AF=B4=E6=98=8E=E7=94=B1?= =?UTF-8?q?=E8=8B=B1=E6=96=87=E6=94=B9=E4=B8=BA=E4=B8=AD=E6=96=87=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: liuym2022 <1461204592@qq.com> --- README.zh.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/README.zh.md b/README.zh.md index 56b0712..df91234 100644 --- a/README.zh.md +++ b/README.zh.md @@ -39,7 +39,7 @@ dnf install -y envmaker oemaker _[-h] [-t Type] [-p Product] [-v Version] [-r RELEASE] [-s REPOSITORY]_ - Optional arguments: + 可选参数: -t ISO type, including standard, debug, source, everything, everything_debug, everything_src, livecd, and netinst @@ -57,12 +57,12 @@ oemaker _[-h] [-t Type] [-p Product] [-v Version] [-r RELEA isocut _[-h] [-t temporary path] [-r extern rpm path] [-k kickstart file 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 8 GB @@ -80,11 +80,15 @@ isocut _[-h] [-t temporary path] [-r extern rpm path] [-k k -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]_ - Optional arguments: + 可选参数: -p Product name,for example, openEuler_compile_env -- Gitee