Repository navigation
build: build and release a Debian 14 (forky) package beside trixie - #27
Merged
Merged
Conversation
Plan 0009 Phase 6 of frostyard/core adds forky beside trixie. The packages link the libraries of the release they are built in, and forky ships gpgme 2 (libgpgme45) where trixie has libgpgme11t64, so build.sh holds 1 Depends list for each codename and checks it against the NEEDED sonames of the built binaries. Build runs 1 leg for each codename with 1 shared build stamp, and the release holds the ~deb13 and the ~deb14 packages and requests both codenames (core ADR-0055 routes each to its codename). The trixie packages do not change. ADR-0001 records the decision.
The check now has its own test: small .deb files with stubbed dpkg and objdump prove that a matching list passes and that a missing, an extra or an unresolvable package fails, and 1 case reads /bin/true with the real objdump. make test runs it, and lint runs shellcheck on lib/. lib/** is a boot-chain risk path (L1), like build.sh.
check_depends ran find and objdump in process substitutions, so a failure of either was lost and the check could pass on the sonames of the other files. Both now run in the parent shell, and a failure fails the check. The release check moves from the Release job into lib/check-release.sh, which the job runs after a checkout. tests/check-release-test.sh runs it on fake packages: the 4 packages of 1 release pass and write the tag, and each wrong set fails with its message (ADR-0001). Signed-off-by: frostyard-machines <[email protected]>
depends_packages treated a file whose header od could not read as not ELF and skipped it, so the check could still pass on the sonames of the other files. The od read now runs in the parent shell, and a failure fails the check. A new case stubs od to fail on 1 of 2 files. Signed-off-by: frostyard-machines <[email protected]>
Contributor
Author
|
Cross-review:
|
bketelsen
approved these changes
Nov 13, 2026
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.
Summary
frostyard/core Plan 0009 Phase 6 (docs/plans/0009-debian-publication-through-apt-publisher.md) adds Debian 14
forkybesidetrixie. This PR builds and releasesbootcandlibostree-1-1for forky with~deb14versions. ADR-0001 records the decision.Build (Debian Trixie)(the required check, same name) andBuild (Debian Forky). ABuild stampjob gives both legs 1BUILD_STAMP.build.sh: it has 1Dependslist pair for each codename. I measured both with real builds indebian:trixieanddebian:forky(objdumpNEEDEDanddpkg -S). Forky differs only inlibgpgme45(gpgme 2,libgpgme.so.45) in place oflibgpgme11t64. A new check at the end of the build (lib/check-depends.sh) fails unless eachDependslist equals the packages that its binaries' sonames map to. A failedfind,odorobjdumpread fails the check too.bootcandlibostree-1-1, once for~deb13and once for~deb14, from 1 stamp, with the same upstream version on both. The check is inlib/check-release.sh, which the Release job runs after a checkout. The tag shape does not change. The request names["trixie", "forky"], and apt-publisher routes each~debNNpackage to its codename (core ADR-0055).libostree-1-1is2026.6-1today. Our pin is 2026.6, and2026.6-frostyard<stamp>~deb14sorts above it.Trixie does not change. I rendered the trixie control files from
HEADand from this branch: they are byte-for-byte the same. The version and tag shapes are the same too.Trade-off (ADR-0001): a forky build failure blocks the next release of trixie as well, because the release needs both legs. Every PR builds both legs, so
mainis green before a person starts a release.Order
frostyard/apt-publisher#50 registers bootc-debian for
forky. It must merge before the next manual release. If it does not, apt-publisher refuses the request as a whole and publishes nothing, also to trixie.Checks
make cipasses locally.debian:trixieanddebian:forkypassed, and I measured theDependssets from them. This PR's CI runs both legs with the new check.tests/check-depends-test.sh(18 cases) andtests/check-release-test.sh(15 cases) run inmake test. The release cases: 1 valid set writes the exact tag, and each wrong set fails with its message (empty, missing, extra, duplicate, mixed stamps, mismatched upstream, wrong marker, no marker, wrong architecture, wrong file name)..debfiles: a good set passes, and 8 bad sets fail.f13b105:Build (Debian Trixie)andBuild (Debian Forky)pass, with theDependscheck in both.Risk paths (
risk:high)build.sh(L1, boot chain): the trixie output does not change. The forky lists come from measuredNEEDEDsonames, and the new check fails the build on any difference..github/workflows/build.yml(L1, publication): the release still runs only on a manual dispatch onmain. It checks 4 packages and 1 stamp, it attests every.deb, and the request names both codenames. The permissions do not change. The Release job gets a checkout (the same pinnedactions/checkout,persist-credentials: false, the triggering revision) so that it can runlib/check-release.sh. The download gets 2 inputs (patternandmerge-multipleon the same pinneddownload-artifact).lib/check-depends.sh,lib/check-release.sh(L1): the 2 checks, each with a test that runs it; neither has credentials or network access..github/workflows/check-dependencies.yml(L1): only 1 sentence of the bot PR body changes.Makefile(L2):make build CODENAME=forkybuilds locally. The gate targets do not change.