Repository navigation
installer: redesign supervised offline system updates - #125
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
问题与效果
安装器更新检查可能在引导检查、软件包读盘或子命令等待期间长期无响应;旧检查还把 APK 归档复制到运行环境,并在确认后重复预检。现在检查支持取消和清理,阶段超时会终止所属进程组,只有完整结果、正常退出和成功卸载后才报告成功。
流程与实现
/run。修正apk fetch --url实际仍下载到当前目录的问题,保留 world 标签、外部包及.apk-new规则。验证
tools/test_installer_update_packages.py:41 项真实签名 APK 回归通过,包括 live 根/介质只读、1 MiB/run与大于 2 MiB 归档、全索引 identity 校验、同版本修复、配置保护和失败重试。兼容性与发布影响
保持现有 checkpoint 格式及 APK/原生引导接口,不变更 ReliefNT gitlink。包更新属于向前修复,不提供整个根文件系统的原子回滚。内核 I/O 若无法响应 SIGKILL,协调进程继续持锁等待;不释放仍存活写入进程的事务。VMware 和物理硬件仍需独立验收。