37 lines
1.0 KiB
Diff
37 lines
1.0 KiB
Diff
From 749ace03d1a3a0a47f68a558a1a6fb4f63b4bd81 Mon Sep 17 00:00:00 2001
|
|
From: xuezhixin <xuezhixin@uniontech.com>
|
|
Date: Mon, 13 Nov 2023 13:42:21 +0800
|
|
Subject: [PATCH] =?UTF-8?q?=E7=BB=9F=E8=AE=A1abi=E5=85=BC=E5=AE=B9?=
|
|
=?UTF-8?q?=E7=9A=84=E5=88=97=E8=A1=A8=E6=80=BB=E6=95=B0=E9=87=8F?=
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
---
|
|
sysmig_agent/Abisystmcompchk.py | 12 ++++++++++++
|
|
1 file changed, 12 insertions(+)
|
|
|
|
diff --git a/sysmig_agent/Abisystmcompchk.py b/sysmig_agent/Abisystmcompchk.py
|
|
index bac4205..f402a74 100644
|
|
--- a/sysmig_agent/Abisystmcompchk.py
|
|
+++ b/sysmig_agent/Abisystmcompchk.py
|
|
@@ -516,3 +516,15 @@ def get_system_pkg_list(migbeflist):
|
|
return newlist
|
|
else:
|
|
return False
|
|
+
|
|
+
|
|
+def incomp_pkg_num():
|
|
+ tmp=''
|
|
+ num=0
|
|
+ for line in open(abi_incomp_chk, 'r').readlines():
|
|
+ tmp_01 = line.split(',')[0]
|
|
+ if tmp!=tmp_01:
|
|
+ num = num + 1
|
|
+ tmp = line.split(',')[0]
|
|
+ return num
|
|
+
|
|
--
|
|
2.20.1
|
|
|