Skip to content

构建环境迁离 bullseye:debian:13 + 官方 tarball - #2

Merged
Roarcannotprogramming merged 3 commits into
masterfrom
debian13-sdk-base
Sep 9, 2026
Merged

构建环境迁离 bullseye:debian:13 + 官方 tarball#2
Roarcannotprogramming merged 3 commits into
masterfrom
debian13-sdk-base

Conversation

@Roarcannotprogramming

Copy link
Copy Markdown
Owner

背景

2026-09-03 起 BuildImage-all 连续全红。根因不是代码:所有构建 job 跑在 bullseye 底的官方 openwrt/sdk / openwrt/imagebuilder 容器里,每个 job 第一步都是 apt-get update && apt install sudo。bullseye 2026-08-31 LTS 到期,debian-security 从主镜像网下架:

  • 09-04~06:pool 里 sudo_1.9.5p2-3+deb11u4 被清,apt install 404
  • 09-07 起:bullseye-security/InReleaseValid-Until: 2026-09-07 21:13 UTC 过期,apt-get update 直接 exit 100
  • Build Image job 的 Artifact not found 是上游包构建全灭的连带

改动

  • 4 个 SDK 编包 job(passwall/argon/bandix/uuplugin,含禁用的 netdata):容器换 debian:13,新增 Prepare 步从 downloads.openwrt.org 拉官方 SDK tarball(sha256 校验)解到 /builder,自建 buildbot 用户,复刻官方镜像布局;删掉各 Run Make 里的 apt 行
  • build_image:宿主机下载 ImageBuilder tarball,docker run debian:13 挂载运行;build_image.sh 内自建依赖与 buildbot
  • setup:版本发现从 Docker Hub 标签改为 downloads.openwrt.org releases 索引(迁离后不再依赖那两个镜像的发布节奏)
  • CLAUDE.md 同步

验证

  • 6 个矩阵格的 SDK/IB tarball 名提取已实测通过(注意 sha256sums 文件名带 * 前缀,awk 里已剥掉)
  • 本分支已 workflow_dispatch 触发实测,结果见 Actions

🤖 Generated with Claude Code

bullseye LTS ended 2026-08-31; the bullseye-security repo was pulled from
the main mirror network (pool pruned, last InRelease Valid-Until expired
2026-09-07), so every job's apt-get update/install inside the official
openwrt/sdk and openwrt/imagebuilder images fails with exit 100. All
BuildImage-all runs since 2026-09-03 are red because of this.

- package jobs: run in debian:13 (trixie), download the official SDK
  tarball from downloads.openwrt.org in a Prepare step, recreate the
  /builder + buildbot layout, drop per-step apt calls
- build_image: fetch the ImageBuilder tarball on the host and run
  build_image.sh in a debian:13 container with the tree bind-mounted
  at /builder; build_image.sh installs its own deps and creates buildbot
- setup: discover versions from the downloads.openwrt.org releases index
  instead of Docker Hub tags
- CLAUDE.md: document the new build environment

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
luci-base/host/compile triggers a global package prereq check; on
rockchip/mediatek SDKs that includes uboot-*, which requires host swig
and the python3 elftools module. The official bullseye-based sdk image
(buildbot buildworker base) preinstalled both; debian:13 does not.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
make image fails its host prereq check on debian:13 without these; the
official bullseye-based imagebuilder image preinstalled them.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@Roarcannotprogramming
Roarcannotprogramming merged commit 724cf57 into master Sep 9, 2026
55 of 56 checks passed
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.

1 participant