Repository navigation
feat(installer): restore IceWM session and add GUI log viewer - #140
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.
问题与效果
Installer ISO 的图形入口直接运行 Xorg 客户端,缺少 IceWM 窗口管理;GUI 也没有 TUI 已有的安装日志入口。
图形入口现在在独立的 IceWM 会话中启动安装器,恢复窗口边框、移动、缩放和任务栏。GUI 侧栏增加“查看日志 (F4)”,安装中以及成功、失败页面都可打开独立日志窗口。关闭日志不会退出安装器或中断安装。
流程与实现
xinit启动installer-session --desktop,由它管理icewm-session和安装器的生命周期。安装器退出后清理 IceWM;窗口管理器异常退出不主动杀死正在写盘的安装器。保留文本启动和图形启动失败后的回退。/var/log/installer.log,支持超时取消、回收和后续重试,避免日志 I/O 卡住 UI。验证
make O=/validation/kbuild -j8 glibc-installer,安装器及运行库编译链接成功。tools/test_installer_log.py:共享读取器的边界、UTF-8 尾部、FIFO/符号链接、超时回收;IceWM 会话退出与失败;1024×768 和 800×600 下的日志窗口自动更新、暂停、手动刷新、缩放、关闭及重新打开。icewm-session和 Xvfb 运行,验证 F4、日志更新、关闭后主窗口存活及重新打开;在 1280×800 和 800×600 下保留截图与进程证据。tools/test_installer_input.py、tools/test_installer_swap_tty.py通过;覆盖真实 ncurses 导航、密码遮罩、后台任务、安装失败和终端恢复。相关 C/C++ 编译检查通过。make O=out/installer-icewm-logs test-build通过(使用GIT_NO_LAZY_FETCH=1,避免 partial clone 尝试下载测试故意构造的不存在提交)。test-desktop的全部 44 个套件分批通过:含 Mbed TLS 和字体的套件在 Arch 容器中运行,其余在宿主完成;首次环境缺依赖的问题已补齐并复测。gettext-check通过,66 页 × 2 语言、2426 条消息完整;UI catalogs 的msgfmt --check、脚本语法和git diff --check通过。完整 Installer ISO 的重新装配、QEMU 实际安装与 VMware 验证尚未完成;本地尝试获取官方 ISO 时连接超时。上述 Xvfb 检查不代表虚拟机启动验收,后续以本 PR 的 CI 构建和 ISO 验收结果为准。
兼容性与发布影响
无内核、gitlink 或公开 ABI 变更。需发布包含本次修改的
reliefos-installer软件包并重新生成 Installer ISO;继续使用旧官方 RPR 快照时不会自动包含新的 GUI 日志代码。安装后选择 IceWM、Xfce 或控制台的行为不变。