From 5787327a9f14de7b3f40945d328a2753b08a0f04 Mon Sep 17 00:00:00 2001 From: xuezhixin Date: Mon, 13 Nov 2023 15:19:25 +0800 Subject: [PATCH] =?UTF-8?q?ABI=E6=A3=80=E6=B5=8B=E5=90=8E=E5=AE=8C?= =?UTF-8?q?=E6=88=90=E6=95=B4=E5=90=88=E6=8A=A5=E5=91=8A=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sysmig_agent/Abisystmcompchk.py | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/sysmig_agent/Abisystmcompchk.py b/sysmig_agent/Abisystmcompchk.py index d717cdf..493c09b 100644 --- a/sysmig_agent/Abisystmcompchk.py +++ b/sysmig_agent/Abisystmcompchk.py @@ -898,3 +898,24 @@ def migrate_before_abi_chk(q_query, task_status): return '0' + +#Check the environment after the migration and generate a detection report +def migrate_behind_abi_chk(): + i=0 + Flag='1' + + log = logger_init() + + current_install_uos_list = get_system_pkg_name(Flag, log) + if not current_install_uos_list: + return False + + migrate_behind_report_name = create_migrate_report_name(Flag, log) + if not migrate_behind_report_name: + return False + + while i < 4: + write_migrate_report_rst =switch_write_migrate_report(migrate_behind_report_name, i, Flag) + i = i + 1 + + return '0' -- 2.20.1