修复aptdeamon升级后服务未启动问题

This commit is contained in:
wangsong 2024-02-02 10:52:35 +08:00 committed by openkylin-cibot
parent 5dab1b1beb
commit e60e887856
3 changed files with 31 additions and 0 deletions

9
debian/changelog vendored
View File

@ -1,3 +1,12 @@
kylin-system-updater (2.0.5.15-ok11) yangtze; urgency=medium
* BUG:无
* 需求号: 无
* 其他改动说明: 修复aptdeamon升级后服务未启动问题
* 其他改动影响域:无
-- wangsong <wangsong@kylinos.cn> Fri, 02 Feb 2024 10:50:34 +0800
kylin-system-updater (2.0.5.15-ok10) yangtze; urgency=medium
* BUG:无

21
debian/patches/0008-aptdeamon.patch vendored Normal file
View File

@ -0,0 +1,21 @@
From: wangsong <wangsong@kylinos.cn>
Date: Fri, 2 Feb 2024 10:52:35 +0800
Subject: =?utf-8?b?5L+u5aSNYXB0ZGVhbW9u5Y2H57qn5ZCO5pyN5Yqh5pyq5ZCv5Yqo6Zeu?=
=?utf-8?b?6aKY?=
---
backend/SystemUpdater/UpdateManager.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/backend/SystemUpdater/UpdateManager.py b/backend/SystemUpdater/UpdateManager.py
index 1a8bbec..c80d948 100644
--- a/backend/SystemUpdater/UpdateManager.py
+++ b/backend/SystemUpdater/UpdateManager.py
@@ -56,6 +56,7 @@ class UpdateManager():
#dbus
self.dbusController = self._setup_dbus()
self.dbusControllerUtils = self._setup_dbus_utils()
+ self.dbusController.make_aptdeamon_restart()
#config
self.configs_uncover = UpgradeConfig(defaults_dir="system-updater-defaults.conf")
self.configs_cover = UpgradeConfig(name = "system-updater-coverable.conf")

View File

@ -5,3 +5,4 @@
0005-2.0.5.15-ok8.patch
0006-update-changelog.patch
0007-2.0.5.15-ok10.patch
0008-aptdeamon.patch