来源
- Speed up ISO builds across root image, mirror indexing, squashfs, and mkarchiso overlap
- Speed up ISO builds across root image, mirror indexing, squashfs, and mkarchiso overlap (#516)
- review-comment by
greptile-apps[bot]
- review-comment by
dhh
- review-comment by
greptile-apps[bot]
- review-comment by
dhh
- issue-comment by
greptile-apps[bot]
- issue-comment by
github-actions[bot]
- Stage target keyring in tmpfs from prepare_live and defer sof-firmware to Phase 4 (#515)
dhh 提交并将 omacom/omarchy-iso#516 合并到 ISO 仓库的 quattro 分支,对应提交为 omacom/omarchy-iso@6305808467da。它在不降低压缩强度的前提下,加快了 x86_64 和 aarch64 上的 ISO 构建。根镜像先在未压缩的暂存目录树中构建,再利用全部 CPU 复制到压缩的 btrfs 卷中。根镜像的构建与 live ISO 的构建同时进行。离线镜像源索引复用已经同步好的软件包数据库。镜像打包和 initramfs 压缩均采用多线程,并行下载数也从 5 提高到 16。
greptile-apps[bot] 发现了两个问题,
dhh 均已修复。一是线程启动失败可能破坏清理流程(omacom/omarchy-iso#516:discussion_r4686579004、omacom/omarchy-iso#516:discussion_r4686598027)。二是归档路径可能写到临时目录之外,机器人将其标记为安全问题(omacom/omarchy-iso#516:discussion_r4686579039、omacom/omarchy-iso#516:discussion_r4686598490)。机器人的最终摘要确认两处均已修复(omacom/omarchy-iso#516:issuecomment-7144550464)。
github-actions[bot] 运行的安装测试在两种架构上均已通过。在该次运行中,x86_64 上构建 ISO 耗时 394 秒,比 quattro 基线慢 30 秒;aarch64 上耗时 340 秒,快了 104 秒(omacom/omarchy-iso#516:issuecomment-7145168688)。
dhh 还提交了 omacom/omarchy-iso@8e2935a5aea4。它在安装早期就于内存中准备好新系统的软件包密钥环,并把 sof-firmware 从基础安装移到之后的硬件阶段,这样 AMD 机器在基础安装期间就不必再下载 55 MiB 仅适用于 Intel 的音频固件。
