diff --git a/0001-fix-blank-of-youker-assistant-3.0.2.0.patch b/0001-fix-blank-of-youker-assistant-3.0.2.0.patch index 46550734de34757b3210f4f1b13fce315e68910e..dfede9d8bf2d1bc836889cdd82cad628557ca56f 100644 --- a/0001-fix-blank-of-youker-assistant-3.0.2.0.patch +++ b/0001-fix-blank-of-youker-assistant-3.0.2.0.patch @@ -1,4 +1,4 @@ -From 0d79a50576d59044b24be3f2c4d274305ed5822f Mon Sep 17 00:00:00 2001 +From 8894b1153e2c7feda779f6e5520c436236fc3167 Mon Sep 17 00:00:00 2001 From: peijiankang Date: Wed, 26 Feb 2025 11:35:00 +0800 Subject: [PATCH] fix blank of youker-assistant 3.0.2.0 @@ -6,7 +6,8 @@ Subject: [PATCH] fix blank of youker-assistant 3.0.2.0 --- commonfunc/utils.cpp | 6 +++--- .../conf/com.kylin.assistant.systemdaemon.service | 2 +- - 2 files changed, 4 insertions(+), 4 deletions(-) + kyasDbus/systemdaemon/kacmdtool.py | 2 +- + 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/commonfunc/utils.cpp b/commonfunc/utils.cpp index 911f56b..50889b1 100644 @@ -41,6 +42,19 @@ index 7dc6fc8..5e9bf73 100644 -Exec=/usr/bin/kylin-assistant-systemdaemon.py +Exec=/usr/bin/python3 /usr/bin/kylin-assistant-systemdaemon.py User=root +diff --git a/kyasDbus/systemdaemon/kacmdtool.py b/kyasDbus/systemdaemon/kacmdtool.py +index e811b50..18c7d14 100644 +--- a/kyasDbus/systemdaemon/kacmdtool.py ++++ b/kyasDbus/systemdaemon/kacmdtool.py +@@ -400,7 +400,7 @@ class KACmdTool(): + if not forceLoad and len(self.lshwSystemList) > 0 : + return + +- args = ["lshw"] ++ args = ["/usr/sbin/lshw"] + pipe = subprocess.Popen(args, env={'LANGUAGE':'en:'}, stdout=subprocess.PIPE, stderr=subprocess.PIPE) + output = pipe.stdout.readlines() + -- 2.48.1 diff --git a/youker-assistant.spec b/youker-assistant.spec index 5435acca33da6f4bf67fa73ab4be514b5a8ee474..e307cf765735d2a557c22714c6bc582a45fd540a 100644 --- a/youker-assistant.spec +++ b/youker-assistant.spec @@ -1,6 +1,6 @@ Name: youker-assistant Version: 3.0.2.0 -Release: 2 +Release: 3 Summary: youker-assistant License: GPL-2+ and GPL-3 URL: https://github.com/UbuntuKylin/youker-assistant @@ -86,6 +86,9 @@ unlink /usr/bin/kylin-assistant-sessiondaemon.py %{_datadir}/kylin-user-guide/data/guide %changelog +* Thu Feb 27 2025 peijiankang - 3.0.2.0-3 +- update 0001-fix-blank-of-youker-assistant-3.0.2.0.patch + * Wed Feb 26 2025 peijiankang - 3.0.2.0-2 - fix blank of youker-assistant 3.0.2.0