diff --git a/0001-modify-description.patch b/0001-modify-description.patch new file mode 100644 index 0000000000000000000000000000000000000000..3a0f836fb4f87a5d8db8a5945dd1b03c8a69b9c9 --- /dev/null +++ b/0001-modify-description.patch @@ -0,0 +1,70 @@ +From 52c434875d1cda64d0abd96e115001ffef0d2cc5 Mon Sep 17 00:00:00 2001 +From: lixin +Date: Mon, 1 Apr 2024 11:04:00 +0800 +Subject: [PATCH] modify-description + +--- + templates/MT_agreement.html | 2 +- + templates/MT_migration_results.html | 2 +- + templates/MT_note.html | 12 +++++++----- + 3 files changed, 9 insertions(+), 7 deletions(-) + +diff --git a/templates/MT_agreement.html b/templates/MT_agreement.html +index be70ca8..d15a399 100755 +--- a/templates/MT_agreement.html ++++ b/templates/MT_agreement.html +@@ -26,7 +26,7 @@ +
+ 欢迎使用统信服务器系统迁移软件。 +
+- 此迁移工具用于将【当前操作系统】替换为【统信服务器操作系统 V20】,并将 RPM 软件包替换为统信的 RPM 软件包。 ++ 此迁移工具用于将【当前操作系统】替换为【openEuler-20.03-LTS-SP1或统信服务器操作系统】,并将 RPM 软件包替换为统信的 RPM 软件包。 + + 协议许可: +
+diff --git a/templates/MT_migration_results.html b/templates/MT_migration_results.html +index 3ff802b..fef5292 100755 +--- a/templates/MT_migration_results.html ++++ b/templates/MT_migration_results.html +@@ -35,6 +35,7 @@ +
+
+ ++

注意:(openEuler系统迁移暂不支持导出日志/报告功能)

+
+
+
+@@ -88,7 +89,6 @@ +
+
+
+- +
+ + +diff --git a/templates/MT_note.html b/templates/MT_note.html +index 099523b..1a79009 100755 +--- a/templates/MT_note.html ++++ b/templates/MT_note.html +@@ -33,11 +33,13 @@ +
+

1. 迁移一旦开始,过程不可逆。请确保您已将系统的数据与设置进行【完整备份】。

+

2. 迁移前请获得管理员许可,再进行迁移工作。

+-

3. 请提前获取【统信服务器操作系统 V20 】的软件仓库地址。

+-

4. 迁移过程中请保证稳定的网络连接。

+-

5. 迁移过程中请不要进行任何操作。

+-

6. 该迁移工具目前仅支持 CentOS 7 / CentOS 8 操作系统。

+-

7. 请确保在 '/var/cache' 中至少有 10GB 的可用空间。

++

3. openEuler系统迁移目前仅支持centos7.4-7.6 cui迁移至openEuler-20.03-LTS-SP1

++

3. openEuler系统迁移无需填写软件源

++

4. 如需迁移UOS系统,请提前准备【统信服务器操作系统 V20 】的软件仓库地址。

++

5. 迁移过程中请保证稳定的网络连接。

++

6. 迁移过程中请不要进行任何操作。

++

7. 该迁移工具目前仅支持 CentOS 7 / CentOS 8 操作系统。

++

8. 请确保在 '/var/cache' 中至少有 10GB 的可用空间。

+
+
+
+-- +2.43.0 + diff --git a/migration-tools.spec b/migration-tools.spec index eb974e2d96faf6a9405b6ed8e3be581197cdb33d..c3aebd4fbb1646af15b74aba2f912771cc57dd42 100644 --- a/migration-tools.spec +++ b/migration-tools.spec @@ -1,6 +1,6 @@ Name: migration-tools Version: 1.0.1 -Release: 3 +Release: 4 License: MulanPSL-2.0 Summary: A tool to help users migrate the Centos system to the UOS system and openEuler system Source0: migration-tools.tar.gz @@ -8,6 +8,7 @@ Source1: requires.tar.gz Source2: xlwt-1.3.0-py2.py3-none-any.whl # patches Patch0: 0001-use-kill-not-kill-INT-when-stop-service.patch +Patch1: 0001-modify-description.patch # CVE patches: >= 100 Patch100: 100-CVE-2024-24892.patch @@ -53,6 +54,7 @@ Migration software server side %setup -c %patch 0 -p1 +%patch 1 -p1 %patch 100 -p1 %if 0%{?openEuler} @@ -108,6 +110,9 @@ rm -rf /usr/bin/migration-tools %endif %changelog +* Mon Apr 01 2024 lixin - 1.0.1-4 +- modify description + * Mon Mar 18 2024 lixin - 1.0.1-3 - fix stop service display failed - update spec