Skip to content

ReliefOS:迁移到 glibc、pacman 和 systemd - #132

Merged
Leonmmcoset merged 142 commits into
mainfrom
rewrite/new-os
Dec 3, 2026
Merged

Leonmmcoset merged 142 commits into
mainfrom
rewrite/new-os

Conversation

@VasilyZa

@VasilyZa VasilyZa commented Dec 2, 2026

Copy link
Copy Markdown
Collaborator

问题与效果

将 ReliefOS 从 musl、APK、BusyBox init 和 OpenRC 迁移到 glibc、pacman/paru 和官方 systemd,采用 Arch 风格 merged-usr、签名在线 RPR 与滚动更新。

流程与实现

  • 使用 Docker 隔离的 Arch/glibc 构建根,保留通用 Linux 宿主的 make fetch 和 make build 入口;自有应用和运行库通过 PKGBUILD 生成标准 pacman 包。
  • 接入签名 RPR、版本化内核和 /usr/lib/modules/<release>,通过 pacman hooks 检查引导分区、生成 dracut initramfs、更新 GRUB 并保留上一版启动项。
  • GUI/TUI 安装器共用在线后端;保留 BIOS/UEFI、控制台、默认 IceWM 和实验性 Xfce。启用 systemd 的设备、日志、网络、DNS 和登录服务。
  • ReliefPackages 与桌面系统更新改走 libalpm/pacman 和 polkit;reliefos-update 通过普通用户的 paru 更新仓库及 AUR 软件包。移除旧安装接口、旧应用和 APK/OpenRC 构建发布链。

验证

  • 7c1bb17f 的 分支 CI 已通过 Debian 构建、宿主回归及文档检查;打开 PR 时整机 CI 尚未完成。以本 PR 的 CI result 为准。
  • 合并前需要确认当前版本的 BIOS/UEFI 启动、在线安装、签名内核升级、模块重载及启动回退。VMware 验收尚未完成;正式 RPR 和 ISO 尚未发布。

兼容性与发布影响

旧版 APK 系统不支持原地升级,需重新安装;迁移后才使用 pacman 滚动更新。

依赖 ReliefOSProject/ReliefNT#49。本分支的内核 gitlink 指向 430c7b080a3db6238fb0047ddf251fb3fd47f3a7。请先合并内核 PR;若合并方式改写该提交,需同步 gitlink 并重新验证整机路径。本 PR 不是生产 RPR 或 ISO 的发布操作。

…ation

Pin the ReliefNT socket activation support and use the installed package database for boot integrity queries. This lets the online installer initialize independent signing trust alongside the boot bundle.

Use one durable signed update for independent BIOS and UEFI boot branches in CI. Keep the full new, previous and fallback checks with timing appropriate for hosted runners.
Exercise local package queries and keyring cleanup in native fixtures. Force refresh when the upgrade probe changes the RPR endpoint and leave sufficient time for UEFI on hosted runners.
Cancel the shipped GRUB menu countdown while recognizing the guest screen, and diagnose a default kernel handoff immediately. Use Docker Hub on hosted CI with the existing image digest, keeping the 1ms mirror as the local default.
Prefer TUNA for Arch repositories on new installations without changing RPR trust. Record the source commit in RPR snapshots and show it on Pages. Ship one-command pacman/AUR upgrades and select the IceWM default theme.
@Leonmmcoset
Leonmmcoset merged commit 5d563c6 into main Dec 3, 2026
23 checks passed
@Leonmmcoset
Leonmmcoset deleted the rewrite/new-os branch December 3, 2026 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants