同步修改已知问题,完成检查更新、更新下载、更新部署、回滚功能验证

This commit is contained in:
wangsong 2024-01-15 17:30:03 +08:00
parent 975ea7b496
commit 22c57952bb
3 changed files with 11 additions and 2 deletions

View File

@ -128,7 +128,7 @@ class UpdateManager():
def _make_meta_for_panel(self,data,output_path): def _make_meta_for_panel(self,data,output_path):
groups_base_info = {} groups_base_info = {}
output_json = {} output_json = {}
try: try:
if not os.path.exists(output_path): if not os.path.exists(output_path):
os.makedirs(output_path) os.makedirs(output_path)
logging.info('making the ConfigPath(%s) is complete...',output_path) logging.info('making the ConfigPath(%s) is complete...',output_path)

View File

@ -355,7 +355,7 @@ class RollbackBackend(BackendBaseOstree):
logging.info("start reollback checksum:%s...",rollback_csum) logging.info("start reollback checksum:%s...",rollback_csum)
ret = sysroot.write_deployments(new_deployments,None) ret = sysroot.write_deployments(new_deployments,None)
origin = new_deployments.get_origin() origin = out_rollback.get_origin()
refspec = origin.get_string("origin","refspec") refspec = origin.get_string("origin","refspec")
ret,origin_remote,origin_ref = OSTree.parse_refspec(refspec) ret,origin_remote,origin_ref = OSTree.parse_refspec(refspec)

9
debian/changelog vendored
View File

@ -1,3 +1,12 @@
kylin-system-updater (3.0.0.0-ok10) nile; urgency=medium
* BUG: 无
* 需求号: 无
* 其他改动说明: 同步修改已知问题,完成检查更新、更新下载、更新部署、回滚功能验证
* 其他改动影响域:不可变系统更新
-- wangsong <wangsong@kylinos.cn> Mon, 15 Jan 2024 17:29:41 +0800
kylin-system-updater (3.0.0.0-ok9) nile; urgency=medium kylin-system-updater (3.0.0.0-ok9) nile; urgency=medium
* BUG: 无 * BUG: 无