构建环境迁离 bullseye:debian:13 + 官方 tarball - #2
Merged
Conversation
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>
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.
背景
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 从主镜像网下架:sudo_1.9.5p2-3+deb11u4被清,apt install404bullseye-security/InRelease的Valid-Until: 2026-09-07 21:13 UTC过期,apt-get update直接 exit 100Artifact not found是上游包构建全灭的连带改动
debian:13,新增 Prepare 步从 downloads.openwrt.org 拉官方 SDK tarball(sha256 校验)解到/builder,自建 buildbot 用户,复刻官方镜像布局;删掉各 Run Make 里的 apt 行docker run debian:13挂载运行;build_image.sh 内自建依赖与 buildbot验证
*前缀,awk 里已剥掉)🤖 Generated with Claude Code