From 67e2c76a3d53b18bf6a6706418861eece1032332 Mon Sep 17 00:00:00 2001 From: liuym2022 <1461204592@qq.com> Date: Wed, 24 Sep 2025 16:48:10 +0000 Subject: [PATCH] docs: add isocut command example and translate parameter notes to Chinese Signed-off-by: liuym2022 <1461204592@qq.com> --- README.md | 11 ++++++++--- README.zh.md | 12 ++++++++---- 2 files changed, 16 insertions(+), 7 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 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