From 7391e6865af62cef6df948c1c093e07418e82b31 Mon Sep 17 00:00:00 2001 From: diviocity Date: Mon, 30 Nov 2026 02:25:20 +0100 Subject: [PATCH] Resolve trust-store file owners and verify the 114-port source order --- BOOTSTRAP.md | 2 ++ PROFILES.md | 2 ++ tools/release-owners.py | 14 ++++++++++++-- 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/BOOTSTRAP.md b/BOOTSTRAP.md index 3854ca9..629b34e 100644 --- a/BOOTSTRAP.md +++ b/BOOTSTRAP.md @@ -30,6 +30,8 @@ python3 tools/build-order.py --recipes aarch64 "$ports" "$work/source-order" \ The worker cross-checked the source plan against the signed x86_64 archives for musl, Linux UAPI, zlib and PCRE2. The package versions, stages and dependency edges matched byte for byte. A second check of ports revision `c745c03` found an unsatisfied check dependency on xkeyboard-config for xkbcomp on both targets. It ordered the other 100 x86_64 and 99 arm64 packages in that checkout. The worker keeps the results in `foundation/source-order-01`. Its receipt manifest has SHA-256 `d46e8c29cb0404a5dc61489662e41e8999aaea0bb4186d534fea50dea7a15797`. +At ports revision `06d5cb5`, xkeyboard-config supplies the missing check dependency. The source planner placed all 114 recipes in seven stages independently on each architecture. See `foundation/source-order-02`, receipt SHA-256 `813b33eb878851d7c32bae9a9cd2b05ad6365f034e286183d633f1836e09901c`. Signed installation and guest execution have their own receipts. + The worker resolved all 81 packages in `foundation/xlib-combined-01/repo` into seven stages. For example, BusyBox follows musl and Linux headers, Xlib follows XCB and Xtrans, and the bitmap fonts follow mkfontscale. The order is in `foundation/xlib-order-01/order.tsv` with SHA-256 `51d1464a0a994328c40264105f8b95b7b22a8922cad177daef98e593d4a6930c`. The first signed ARM feed puts both musl and Linux headers in stage zero. Its signed, installed root passed the ownership and ELF audit for 1,165 files and links, including six target ELFs. The worker keeps that receipt in `arm/common/sdk-01-audit.log` with SHA-256 `b315f8d20f2d4c7737fd2e5078c33e12b6183d2ee86a22a9ba6db6852d68c59b`. ## Running the shared worker diff --git a/PROFILES.md b/PROFILES.md index 8ec0948..841f847 100644 --- a/PROFILES.md +++ b/PROFILES.md @@ -90,4 +90,6 @@ The 62-package x86_64 root for the November 28 image had 3,899 matching input/la The first arm64 SDK provided 231 of those 4,019 matching paths under their expected owner. The comparison in `arm64/owners-runtime-01` records the other 3,788. Both architectures' owner tables now assign the versioned GCC runtime libraries to `gcc-libs`. +The 106-package x86_64 root passed the installed-root audit for 17,128 paths and 273 target ELFs. The 27-package arm64 root passed for 1,967 paths and 31 target ELFs. Vinix packages the individual Mozilla authorities in `ca-certificates-bundle`, the update tools and configuration in `ca-certificates`, and the login banner in `vinix-release`. Applying those ownership rules to the published paths gives 1,250 expected owners and 2,649 missing original paths on x86_64, and 556 expected owners and 3,463 missing original paths on arm64. The worker records the per-file results in `foundation/split-owners-01`, receipt SHA-256 `e1404e666c4035989856488ab77253cfb48bfec023cc44d43ef30ddab42ac9c1`. + Both targets also passed a fresh signed install of musl, `vinix-accounts`, `vinix-filesystem` and `netbase`. Each root had 252 owned files and links and six target ELFs. Run `python3 tests/layout.py "$client/root"` after the installed-root audit to check the modes on shadow, root and the temporary directories, the runtime symlinks and the account and network defaults. The worker retains both runs in `foundation/layout-03` with receipt manifest SHA-256 `d5c1cba079ab9cb1f04f2de7f17ab9d270e9066fc2472ac486fd079fa1139a1e`. diff --git a/tools/release-owners.py b/tools/release-owners.py index 15f6fb3..65a4a1c 100644 --- a/tools/release-owners.py +++ b/tools/release-owners.py @@ -37,7 +37,17 @@ BINARY_OWNERS = { } -def providers(row): +def providers(row, path=None): + if row["binary"] == "ca-certificates": + if path is None: + return ("ca-certificates", "ca-certificates-bundle") + if Path(path).parent == Path("usr/share/ca-certificates/mozilla") and path.endswith(".crt"): + return ("ca-certificates-bundle",) + if row["origin"] == "alpine-baselayout": + if path is None: + return (*SOURCE_OWNERS["alpine-baselayout"], "vinix-release") + if path == "etc/motd": + return ("vinix-release",) if row["origin"] == "mesa" and row["repository"] == "v3.20/main": return ("mesa-glx-legacy",) return BINARY_OWNERS.get(row["binary"], SOURCE_OWNERS.get(row["origin"], (row["origin"],))) @@ -112,7 +122,7 @@ def compare(args): path = row["published_path"] owner = owners.get(path, "") known = row["comparison"] != "different" - expected = providers(packages[k]) + expected = providers(packages[k], path) match = ("unmeasured" if not args.client else "unowned" if not owner else "expected_owner" if owner in expected else "other_owner") writer.writerow([*k, row["layer"], path, row["comparison"], row["candidate_path"], owner, match]) -- 2.56.1