diff --git a/README.en.md b/README.en.md index a9e710a..7f63c6e 100644 --- a/README.en.md +++ b/README.en.md @@ -4,7 +4,7 @@ The source package `oemaker` has three functions: ISO making and splitting and compile_env making. Accordingly, three software packages are generated: `oemaker` and `isocut` and `envmaker`. -The generated binary RPM `oemaker` is a build tool for making DVD ISOs, including the Standard ISO, Debug ISO, Source ISO, Everything ISO, Everything Source ISO, Everything Debug ISO, and Netinstall ISO. +The generated binary RPM `oemaker` is a build tool for making DVD ISOs, including the Standard ISO, Debug ISO, Source ISO, Everything ISO, Everything Source ISO, Everything Debug ISO, LiveCD ISO, and Netinstall ISO. The generated binary RPM `isocut` is a build tool for ISO splitting, which supports only package-level RPM. @@ -41,7 +41,7 @@ oemaker _[-h] [-t Type] [-p Product] [-v Version] [-r RELEA Optional arguments: - -t ISO type, including standard, debug, source, everything, everything_debug, everything_src, and netinst + -t ISO type, including standard, debug, source, everything, everything_debug, everything_src, livecd, and netinst -p Product name, for example, openEuler @@ -78,6 +78,8 @@ isocut _[-h] [-t temporary path] [-r extern rpm path] [-k k -h Show the help message and exit + -c cut packages, yes/no, default is yes + isocut 详细文档请查看《镜像裁剪定制工具使用指南》: 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 diff --git a/README.md b/README.md index 9432117..aa7ac32 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ `oemaker`源码包拥有三部分功能:iso 格式光盘映像的制作和裁剪和通用编译环境制作。相应地,`oemaker` 源码包会生成三个软件包:`oemaker` 和 `isocut` 和 `envmaker`。 -生成的二进制 RPM 包 `oemaker` 是用于制作 DVD 光盘映像的构建工具,可制作的映像包括 standard iso、debug iso、source iso、everything iso、everything source iso、everything debug iso 和 netinst iso。 +生成的二进制 RPM 包 `oemaker` 是用于制作 DVD 光盘映像的构建工具,可制作的映像包括 standard iso、debug iso、source iso、everything iso、everything source iso、everything debug iso livecd iso 和 netinst iso。 生成的二进制 RPM 包 `isocut` 是用于裁剪光盘映像的构建工具,支持在 RPM 包级别进行裁剪。 @@ -41,7 +41,7 @@ oemaker _[-h] [-t Type] [-p Product] [-v Version] [-r RELEA Optional arguments: - -t ISO type, including standard, debug, source, everything, everything_debug, everything_src, and netinst + -t ISO type, including standard, debug, source, everything, everything_debug, everything_src, livecd, and netinst -p Product name, for example, openEuler @@ -78,6 +78,8 @@ isocut _[-h] [-t temporary path] [-r extern rpm path] [-k k -h Show the help message and exit + -c cut packages, yes/no, default is yes + ##### envmaker envmaker _[-p Product] [-v Version]_ diff --git a/oemaker-3.0.4.tar.gz b/oemaker-3.0.4.tar.gz deleted file mode 100644 index 136fdcc..0000000 Binary files a/oemaker-3.0.4.tar.gz and /dev/null differ diff --git a/oemaker.spec b/oemaker.spec index 9ccc27c..8462a46 100644 --- a/oemaker.spec +++ b/oemaker.spec @@ -10,8 +10,8 @@ Name: oemaker Summary: a building tool for DVD ISO making and ISO cutting License: Mulan PSL v2 Group: System/Management -Version: 3.0.4 -Release: 5 +Version: 3.1.0 +Release: 1 BuildRoot: %{_tmppath}/%{name} Source: https://gitee.com/openeuler/oemaker/repository/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz @@ -23,7 +23,7 @@ Source5: edge_normal_x86_64.xml Source6: desktop_normal_aarch64.xml Source7: desktop_normal_x86_64.xml -Requires: createrepo dnf-plugins-core genisoimage isomd5sum grep bash libselinux-utils libxml2 +Requires: createrepo dnf-plugins-core genisoimage isomd5sum grep bash libselinux-utils libxml2 anaconda libselinux-utils Requires: lorax >= 19.6.78-1 # Patch here @@ -72,6 +72,7 @@ mkdir -p %{buildroot}/opt/oemaker mkdir -p %{buildroot}/opt/oemaker/config mkdir -p %{buildroot}/opt/oemaker/config/x86_64 mkdir -p %{buildroot}/opt/oemaker/config/aarch64 +mkdir -p %{buildroot}/opt/oemaker/config/common mkdir -p %{buildroot}/opt/oemaker/docs mkdir -p %{buildroot}/%{_bindir} mkdir -p %{buildroot}/%{_sysconfdir}/isocut @@ -89,9 +90,16 @@ install -m 700 %{name}/isomaker/env_restore.sh %{buildroot}/opt/oemaker/env_rest install -m 400 %{name}/isomaker/config/rpmlist.xml %{buildroot}/opt/oemaker/config/rpmlist.xml install -m 400 %{name}/isomaker/config/x86_64/* %{buildroot}/opt/oemaker/config/x86_64/ install -m 400 %{name}/isomaker/config/aarch64/* %{buildroot}/opt/oemaker/config/aarch64/ +install -m 400 %{name}/isomaker/config/common/* %{buildroot}/opt/oemaker/config/common/ install -m 700 %{name}/isomaker/docs/* %{buildroot}/opt/oemaker/docs/ cp -a %{name}/isomaker/80-openeuler %{buildroot}/opt/oemaker/ +%ifarch x86_64 +cp -a %{buildroot}/opt/oemaker/config/common/* %{buildroot}/opt/oemaker/config/x86_64/ +%else +cp -a %{buildroot}/opt/oemaker/config/common/* %{buildroot}/opt/oemaker/config/aarch64/ +%endif + install -m 550 %{name}/isocut/isocut.py %{buildroot}/%{_bindir}/isocut install -m 600 %{name}/isocut/config/repodata.template %{buildroot}/%{_sysconfdir}/isocut/ @@ -161,6 +169,11 @@ rm -rf %{buildroot} rm -rf $RPM_BUILD_DIR/%{name} %changelog +* Mon Nov 20 2023 chenhuihan - 3.1.0-1 +- ID:NA +- SUG:NA +- DESC: support for livecd and isocut optimize + * Tue Sep 19 2023 liyunfei - 3.0.4-5 - ID:NA - SUG:NA