vinix-ports / tests / x11 / README.md
181 lines · 97 sloc · 41.07 KB · 4ee175cd6737df8c5cae22a38bd9321911a90083
Raw

X11 release checks

The X11 sidecar for Vinix release iso-2026-11-28 combines two Mesa releases. Keep their drivers and LLVM versions distinguishable when assembling the vpac sidecar.

The vinix-release-x11 metapackage selects Xorg with the fbdev module, both Xvfb variants, the Vinix session, the release clients and demos, and their runtime dependencies. It also selects XRandR, Xtrans and the GLU header found in both published sidecars. The bitmap files live in /usr/share/fonts/X11/misc. The metapackage exposes those same files and their maintained index at the published /usr/share/fonts/misc path. The header-only GLU package matched the published input on both architectures. Mesa supplies the published GL/osmesa.h header. The full GLU library, OSMesa, XA and LLVM development files remain build inputs.

The AArch64 metapackage also requires musl>=1.2.6-4 for the release kernel's 16 KiB memory pages. The native recipe evaluator checked this requirement and the common X11 selection for both targets. The staged font alias resolved the bitmap and its index from a signed installation. Selection metadata and header comparison receipts are under ~/.local/state/vinix/ports/musl-busybox-CqkBEA/xorg/worker/release-meta-04 and mesa-layout-and-glu.txt in its parent directory.

Source Package owner Public paths and consumers
Mesa 24.0.9 mesa-glx-legacy /usr/lib/libGL.so.1, /usr/lib/libglapi.so.0 and /usr/lib/xorg/modules/dri/ serve the release Xorg and GLX-enabled Xvfb. The DRI driver requires libLLVM-17.so.
LLVM 17.0.6 llvm17-libs /usr/lib/libLLVM-17.so and its versioned alias serve the legacy DRI driver.
Mesa 24.2.8 mesa /usr/lib/libEGL.so.1 and /usr/lib/libgbm.so.1 both request libgallium-24.2.8.so. Ship that shared object under /usr/lib and keep current Mesa's DRI entry points under /usr/lib/mesa24/dri/.
LLVM 19.1.4 llvm19-libs /usr/lib/libLLVM.so.19.1 serves the current Gallium library.

Vinix’s ARM desktop assembly additionally copies the old DRI library and software entry points to /usr/lib/dri. It copies the old GL/GLAPI libraries to /usr/lib/vinix-x11-software and the current EGL/GBM libraries to that directory’s egl child. The X11 build removes the versioned current Gallium library before copying the old DRI tree. The optional Apple GPU image uses a separate Mesa overlay. X11 assembly · Desktop overlays

The comparison passed for the published amd64 and arm64 assets at Vinix revision c34a6707e1d8d3a23d0b1bfe6e6dbb16290e4f75. On each architecture the sidecar’s EGL and GBM libraries byte-match the 24.2.8 packages. Each ELF requests libgallium-24.2.8.so, which in turn requests libLLVM.so.19.1. Neither library appears in the ISO, initramfs or sidecar path inventory. The DRI renderer present in each sidecar byte-matches the 24.0.9 package and requests libLLVM-17.so. Both Gallium versions also request libglapi.so.0 and libstdc++.so.6.

The release init sets LIBGL_DRIVERS_PATH=/usr/lib/xorg/modules/dri:/usr/lib/dri. The embedded Wine host gives the child Xvfb those same paths in reverse order. Both reach the legacy renderer. Mesa 24.2.8 links its EGL library directly with the current Gallium shared object, so the dynamic linker also needs that object before the surfaceless driver can initialize. Vinix init · Wine host · Mesa EGL linkage

The worker retains the extracted files and receipts under musl-busybox-CqkBEA/xorg/release-elf-01. The local receipt copy is under ~/.local/state/vinix/ports/musl-busybox-CqkBEA/xorg/worker/release-elf-01. The SHA-256 digests of the per-architecture SHA256SUMS manifests are 5da28c971951958f0108714675ac446e5b40596fbcbe51a1be7040efb0fcf1d8 for amd64 and bab53968719220861d2c1967ff45ae571d64f952a1ed47838a6710e8111573b5 for arm64.

To reproduce it, supply the two original sidecars, per-architecture inventories from the release audit, and the corresponding reference APKs. The command preserves the ELF headers, dynamic sections, matched paths and SHA-256 values.

v run tests/x11/release-elf.v "$release_assets" "$reference_apks" "$new_output"

Signed packages in a Vinix guest

The x86_64 SPIR-V Tools port assembled, validated and disassembled a Vulkan fragment shader during the build. A clean signed install audited four packages, 371 owned paths and 26 target ELFs, and the installed assembler reported SPIR-V 1.6 support. The archive spirv-tools-1.3.296.0-1-x86_64.pkg.tar.zst has SHA-256 ed3f6e35fc1afc58617c768742ebd27c7d4e5baffcc877271fc03f32fbf61296. See xorg/spirv-tools-x86_64-01, receipt SHA-256 163e2feb20c2c3a547c381f4d38dd142ff3b868d4fde450a38851f3b6d76bba2.

The AArch64 source queue built xvfb-21.1.16-2-aarch64.pkg.tar.zst against a signed 31-package SDK with the target font index. The archive passed the 16 KiB ELF page audit and has SHA-256 90dcce49c2c908a4118ab6211bfc687accf515a41095f87b669a2de81df84bdc. The queue receipt is xorg/arm/abi16/source-queue-01/receipts-06.sha256, SHA-256 20a5e0b48886e4697abc8752a7b78318aa06c8eda2ba0c9bf7ff30e09328f7dc.

The AArch64 guest booted a fresh 40-package signed root with that Xvfb archive. tests/x11/headless.sh used client.v to read back a pixel, loaded and queried an X resource with xrdb, and verified Xvfb refused a client without the cookie. See xorg/arm/abi16/guest-xvfb-02, receipt SHA-256 19d8b95839fa53ed8ae58aa2516635a6da1caa106833d084571da913cca26089. The ext2 image and firmware variables have checksum-verified compressed copies and restoration metadata in foundation/archived-arm-xvfb-guest-assets-01, receipt SHA-256 5e1d06fa28d11e32cf08d00ab8140395139556cad9f6179e713851a14f0f7c5b.

The x86-64 client test booted Vinix with ten PGP-validated packages, including libX11, libfontenc and Pixman. client.v parsed a signed X geometry, mapped the Latin-9 euro character to Unicode and copied a one-pixel ARGB image through Pixman. All three checks passed. Its additional --display mode performs a pixmap readback against a running X server.

The font test installed mkfontscale and both bitmap font packages by name. The cold install ran the pacman hook inside the target root and produced 766 owned file and link paths across twelve signed packages. Inside Vinix, font-index.v ran the installed hook’s command with the cursor font present, removed and restored. It verified the header count, the cursor entry and the fixed-font entry. Both QEMU runs used one vCPU and 384 MiB. Receipts and serial transcripts are under ~/.local/state/vinix/ports/musl-busybox-CqkBEA/xorg/worker/{x11-client-guest-04,font-index-guest-02}.

The headless server test installed xvfb, xauth, xset, xrdb and BusyBox by name. The x86-64 root contained 36 PGP-validated packages, 5,738 owned file and link paths and 68 target ELFs. On the release kernel, headless.sh started the packaged Xvfb with TCP disabled, authenticated a client, drew a pixmap and checked the returned pixel. The client also wrote and read back an X resource. A new connection with an empty authority file correctly failed. The 384 MiB, one-vCPU guest transcript and ISO checksum are under ~/.local/state/vinix/ports/musl-busybox-CqkBEA/xorg/worker/guest-xvfb-03.

On the released AArch64 kernel, modeline-font.sh ran the source-built cvt and bdftopcf executables that require 16 KiB page alignment. It computed a 640×480 modeline and regenerated the release PCF cursor from its upstream BDF. The cursor matched SHA-256 ad72bdd05b8baf48fd988dd08ee64a7b9ab4e04c3c72db3c4bc74ae01b7a6246. The one-vCPU, 384 MiB guest used seven signed packages containing 559 owned paths and twelve target ELFs. Evidence is under ~/.local/state/vinix/ports/musl-busybox-CqkBEA/xorg/worker/arm16-guest-tools-02.

The LLVM fixture compiles a two-argument integer addition function from LLVM IR, obtains its native address and calls it with positive and negative inputs. Before using it on the candidate runtime, we ran it twice in the build-only Alpine environment, once with libLLVM-17.so and once with libLLVM.so.19.1. Both returned the expected sums. The per-version DT_NEEDED records and transcripts are under ~/.local/state/vinix/ports/musl-busybox-CqkBEA/xorg/worker/llvm-probe-fixture-02. Runtime acceptance also requires repeating these executions with the source-built Vinix packages on each release kernel.

On AArch64, libelf 0.191-2 built from elfutils and installed with its signed libraries. The audit covered 11 package records, 1,311 owned files and links, and 18 target ELFs. The package page check is in xorg/arm/abi16/logs/libelf-pages.log, SHA-256 3a230cbe92e1469fbdeefb23d1625d1ffcb595fc0c91caa97a59376b9067c477.

The cold AArch64 LLVM build SDK installed eight signed packages, including GCC's shared runtime, libffi, libxml2, XZ, zlib and Zstd. The worker counted 1,413 owned files and links and 21 target ELFs. The host tools verified CMake 3.28.3 from the pinned Ubuntu archive and the matching 17.0.6 and 19.1.4 TableGen programs in the private build environment. The SDK and host-tool receipts are under xorg/llvm/arm-runtime-sdk-01 and xorg/llvm/arm-host-tools-01, manifest SHA-256 85a0d963c61842d6696c92bd488f3a7b52f5b8441f172a4ff0ced50ca27a32e9 and f8d1d5aaafbde5b748e8fa7c9888dbe9761ead42001b89d477120b24ecbbe283.

Keep the completed LLVM runtime build tree until its development archive is packaged. To package from that tree, set VINIX_LLVM_BUILD to its CMake build directory inside the original worker environment. The LLVM 17 and 19 recipes use CMake's install components so the packaged library and llvm-config have the installed search path. The development recipe compares the CMake-installed library to the signed runtime in its SDK before Ninja builds the remaining llvm-config target and headers. With the variable unset, the recipes configure and build their own targets.

The x86_64 worker packaged llvm19-libs 19.1.4-2 and llvm19-dev 19.1.4-1 from the completed source tree. The clean, signed runtime install passed the ELF and ownership audit. Adding the signed development archive in a second clean root brought the totals to ten packages, 3,450 owned paths and 23 target ELFs. See xorg/llvm/work/runtime19-01/dev-reuse-01, receipt SHA-256 03e0efcaf18a9b2226c75e76a6a29089cc1d45965daabc96a64b6d7c9f00994d.

The x86_64 QEMU guest ran the installed llvm-config-19 --version and executed both calls through the LLVM-generated native function in llvm.v. The worker linked the probe using the installed development headers and library. See xorg/llvm/x86_64-guest19-03, receipt SHA-256 9e299ddd84525c7c95bbcfce1c5b9ea7729d13c2f6e039d93b9484758c9cbd89.

The corresponding client and guest disk are archived in foundation/archived-x86-llvm19-qemu-roots-01, receipt SHA-256 68071f5978f8ecbacced1469e402ef75b8e2485aedf4a086dafcd6fc60ff7ad2. Extract the checked archive from the worker state directory before replaying the disk receipt check.

The x86_64 worker also packaged LLVM 17.0.6-2 and its development archive from the same target build tree. The runtime matched the pinned release recipe and ELF layout. The signed development root contained 10 packages, 3,326 owned paths and 23 target ELFs. See xorg/llvm/x86_64-runtime17-verification-01 and xorg/llvm/work/runtime17-01/dev-reuse-01, receipt SHA-256 709645eba57dcbd5fcbfffe7df9f59752f856c304e11305af8faef161d8dc17b and 3d78d4715d231fca35f38089335250c5acdc8f5574c517613b6aa60f69abab07. The worker retained the checked build tree in foundation/archived-llvm-x86-17-source-01, receipt SHA-256 d9fdc3ca8fa0b7d7b11672298c58e97ea5f1f494ac9672fbf5191ef1b034bc57.

The x86_64 QEMU guest ran the installed llvm-config-17 and executed the generated addition function for both argument pairs. See xorg/llvm/x86_64-guest17-01, receipt SHA-256 08ddb2c359e16723c73894b9d25a1160e9fe38aae91be40d09f0c0f7e66909f8.

The guest disk, boot media and signed clients are recoverable from foundation/archived-x86-llvm17-qemu-roots-01, receipt SHA-256 26b319406dbf24991e50fea0a7a258ab5e1563c11c9f5bbc48bfdbe30129479d. Verify llvm17-guest-roots.tar.zst against archives.sha256 and extract it from the worker state directory to restore the paths in restore-paths.

The AArch64 LLVM 19 build uses the existing signed x86_64 llvm-config 19.1.4 as its native helper. The worker verified the signed input archives and pointed only a private executable copy's ELF interpreter at its packaged musl loader. It checked the native tool's version, target, library directory and shared-link flags before passing it as LLVM_CONFIG_PATH. See xorg/llvm/native-config19-source-built-01, receipt SHA-256 4a42f832d564e6e3568c332d18a93b0a75b334417102ce0f58141b73a186e127.

The AArch64 worker packaged llvm17-libs 17.0.6-2 and llvm17-dev 17.0.6-1 from completed objects. The clean signed development root passed the 16 KiB ELF and ownership audit with ten packages, 3,298 owned paths and 23 target ELFs. See xorg/llvm/work/arm-dev-reuse-01/17, receipt SHA-256 34bc22cabc4b6d42c98e8a736dfee54f5a0e0b70873b5d3218da09834b66e544.

The AArch64 QEMU guest ran its installed llvm-config-17 and executed the generated addition function for both argument pairs. See xorg/llvm/aarch64-guest17-02, receipt SHA-256 c68241b32c6ae8aed2ac58557e23ff89cbbf14df0fc79347087342b86c7fafc1. The two SDK clients, the guest client and its ext2 disk are recoverable from foundation/archived-llvm-arm17-test-roots-01, receipt SHA-256 108ec554b287fd74aeb24a45712286a327ed9b3820784fd9fb7844aa3f423af4.

The Mesa 24.2.8 recipe compiles Gallium once and uses one Meson installation to produce mesa and mesa-gallium-sdk. EGL, GLES and GBM stay in the runtime archive. The SDK archive carries OSMesa and XA for builds that request them. Both architecture plans resolve the split outputs to the same recipe, and the install fixture confirmed that the two outputs own disjoint paths. See foundation/release-split-plan-01, receipt SHA-256 124659b0ae78559071f072e3845c4c5903da1b2f9a0b523931e422b21ac3b585.

The x86_64 Mesa 24.2.8 build passed the target ELF audit and produced mesa-24.2.8-1-x86_64.pkg.tar.zst and mesa-gallium-sdk-24.2.8-1-x86_64.pkg.tar.zst, SHA-256 b2616c97a3cbdf08f264e41fb3cc0a48ad8b66185bf17b0cbfb45b5f4fc1f747 and 3de30cc5e800d5ec0b8306e4ba927a05cd975994e0cc409ea831b4147a86cd8f. The archive check matched both outputs to the patched vinix-ports recipe, bringing x86_64 to 151 of 158 verified outputs. A clean signed GLU SDK installed both Mesa outputs and passed the audit with 48 packages, 10,063 owned paths and 115 ELFs. See release-inputs/upstream-7f173671/mesa-x86-release-coverage-01, receipt SHA-256 3507eb7e6f6df93422f571b2db563e12f205b9d0aeb26f4f6284c093c1ca1d35.

GLU also needs GL/gl.h, which the mesa package supplies at build time. The corrected x86_64 recipe linked GLU against libOSMesa.so.8 from mesa-gallium-sdk and produced glu-9.0.3-1-x86_64.pkg.tar.zst, SHA-256 f4efba0ce7aa7390f8466020784d477cb8145387a2920396e25cbc9fdf6c04c6. Both architecture plans resolve the new build dependency. See release-inputs/upstream-7f173671/mesa-glu-release-plan-01, receipt SHA-256 6c520e2ab4a2d37d5675a4296bcebee85cf3b5645a99c1585c055967d5e5ab38.

FreeGLUT built against the corrected signed SDK. The archive freeglut-3.4.0-1-x86_64.pkg.tar.zst has SHA-256 592eddaf6b089839908f7a14ab094a4d2623e0380387988667f89bd16e2eeae9. Both GLU and FreeGLUT passed their ELF and recipe checks, bringing x86_64 to 153 of 158 verified outputs. See release-inputs/upstream-7f173671/x11-dependencies-x86-release-coverage-01, receipt SHA-256 a6ac59b04944389b14819d203c79819008ffcf6931fb99da5b28a111d6531f89.

For those checks, install vinix-release-x11 and busybox-init from the signed feed into a clean root and audit it. Build egl.v and glx.v against that SDK and place the executables at /vinix-egl-check and /vinix-glx-check in a disposable guest root. Boot graphics.sh using tests/disk-root.py. The fixture reads back the expected pixel from current Mesa's surfaceless EGL and again from an authenticated indirect GLX connection to Xvfb-glx using the legacy DRI directory.

The x86_64 kernel booted the clean 83-package signed graphics root from ext2. The audit verified 7,645 owned paths and 212 target ELFs, and the font hook generated the 335-entry bitmap index. Mesa reported EGL 1.5 with LLVM 19.1.4 llvmpipe and returned RGBA [0, 255, 0, 255]. Authenticated indirect GLX returned the same green pixel through Xvfb-glx and the Mesa 24.0.9 DRI stack. The first run exposed a 64-bit V attribute array at the EGL C boundary. The passing run reused the signed root and rebuilt only the probes with 32-bit attributes. See xorg/release-guest/x86_64, receipt SHA-256 8763c16ae8d72f194800728a9bcdb44fbdc5860451d32dcfd24f36645810e708.

The AArch64 kernel booted its clean 83-package signed graphics root from ext2. The audit verified 7,752 owned paths and 295 target ELFs, and the font hook generated the same 335-entry bitmap index. Mesa EGL 1.5 with LLVM 19.1.4 llvmpipe and authenticated indirect GLX both returned the expected green pixel. See xorg/release-guest/aarch64, receipt SHA-256 e6ecc91125067509ddd11f7b0771fb1309671c2990e3644515daaa4cf035d222.

The standalone AArch64 graphics disk is recoverable from foundation/archived-arm64-signed-graphics-disk-01, receipt SHA-256 f348665b6422a51abdd1d03cf94e2f47a26d910f63a5505fdd6f0062949082ac. The original x86_64 on-demand test disk, used for the shorter timeouts and the first KVM replay, is recoverable from foundation/archived-amd64-on-demand-attempts-disk-01, receipt SHA-256 696fb7ff8e5de8e14f01fef1fdc9e3b4527f43b14248f97b95393a681d7c9778. For either disk, verify archives.sha256, decompress to the original path, compare the uncompressed digest, and restore the original mode and modification time from restore.tsv.

The worker preserved both x86_64 graphics disks. See foundation/archived-x86-graphics-first-disk-01 and foundation/archived-x86-signed-graphics-disk-01, receipt SHA-256 825cdedbaf8a2823d62df309cad5cec77d5e344eb9e6b0407b5f33e0fe7c9cd4 and 1661233efd0816cf233cab1763123ba4e2ca6a54ef7a273fabaad80e2265619d. Recreate the first compressed disk from the passing one using first-graphics-disk.tsv in foundation/archived-uapi-and-graphics-deltas-01, receipt SHA-256 759558a0302c9c2753ea009fbbebfecc4b441cff40de9e911e7746df45508013. Verify each archives.sha256, decompress to the original disk path in restore.tsv, and compare the uncompressed SHA-256 before restoring the recorded mode and time.

The standalone x86_64 graphics boot media and the earlier transaction attempts are recoverable from foundation/archived-amd64-graphics-boot-media-01 and foundation/archived-initial-amd64-on-demand-boot-media-01, receipt SHA-256 58386518c4925d887b553f659cfb167d01dfa1e23c9dddeb163c10b27a7e0362 and bb7e6fb06666d63c5971b8de770ff44f4d6264cfc6583c9b0253408154075440. Verify archives.sha256 and extract from the worker state directory to restore restore-paths.

For the on-demand release test, combine the signed desktop and X11 package lists with tests/combined-feed.py --publish-only. Pass the combined feed and --native-layer "$native_layer" to tools/desktop-root.py to install the desktop metapackage, stage the source-built desktop programs and embed the signed feed. Run record_native_programs from tests/desktop-guest.py on the staged root and add the framebuffer probe. Set VINIX_DESKTOP_NEXT_FIXTURE in the desktop fixture to the guest path of graphics.sh and set VINIX_X11_INSTALL_FROM_PKG=1 in that script. With tests/disk-root.py --desktop-init --space-for "$x11_sdk/root", the guest must reach graphical registration, resolve x11 by exact name, install the signed X11 metapackage, verify the server and Mesa owners, and pass both rendered pixel checks.

The AArch64 desktop booted with 2 GiB of RAM on the November 28 release kernel. It reached graphical registration with the source-built desktop, installed the 69 packages required by pkg install x11 from the embedded signed feed, and checked the installed owners. EGL 1.5 with LLVM 19.1.4 llvmpipe and authenticated indirect GLX both returned the expected green pixel. See foundation/desktop-release-on-demand-x11-01/aarch64, receipt SHA-256 8258e46992ba5c38560bdf252e46d2164786f126eb1fd995e92ac23a4374caa9.

The AArch64 transaction disk is recoverable from foundation/archived-aarch64-on-demand-x11-disk-01, receipt SHA-256 91262e7077555b213e3814c690fc33f06d804b7806df0fd1f86be8cbec0f2630. Verify archives.sha256 and restore the disk to the original path, hash, mode and modification time in restore.tsv. The transaction transcript remains available in the guest evidence directory.

The x86_64 on-demand transaction spent several minutes between package progress messages while writing to its disposable SATA disk. The worker sampled QEMU block counters before and after the libxcb completion line. Over 192 seconds QEMU received about 250 MiB of writes in 53,028 operations and 6,094 flushes. The guest continued installing packages. See foundation/release-on-demand-amd64-sata-progress-01, receipt SHA-256 a365527338f3ee6eae3da8eda15eda22cc1457cdaa489b3613132693ef4aa0ea.

The x86_64 guest booted the kernel from the candidate ISO, reached graphical registration, installed all 68 signed packages required by pkg install x11 from its verified cache, and checked the installed owners. EGL and authenticated indirect GLX each returned the expected green pixel. See foundation/desktop-release-on-demand-x11-01/x86_64, receipt SHA-256 5024edefdcd383abcbff382c7b9ce87a763117573ff546b491b977a1b8104c0d.

A permissions audit of both cold desktop-and-X11 roots found 138 restricted public paths on x86_64 and nine on AArch64. They include GCC headers, target binutils directories, Xorg module directories, FreeGLUT's CMake directory and the x86_64 xinit configuration directory. Commit 6327522 updates the six owning recipes and increments their package releases. The original guest checks ran as root. See foundation/release-public-install-modes-01, receipt SHA-256 52d4626f5b040daa6474d93d7f77948ff15c1bd00ee1282c85712fea778b0ecd.

Reuse the original compiled payloads by passing the prior coverage table and its exact recipe alongside the revised recipe.

python3 tools/repack-public-modes.py "$arch" "$pkg" "$prior_coverage" \
    "$prior_recipe" "$revised_recipe" "$archives"

The repacker checks the original archive and recipe digests, accepts only the version and permission edits, and verifies that the output preserves payload names, contents, types and link targets. The x86_64 GCC and FreeGLUT recipes retain the original build phases. Their exact revised recipes are in foundation/release-public-mode-repack-01/x86_64/recipes. All 12 archives passed the target ELF checks. The release plan still orders 158 packages in 14 stages for each architecture, and all 158 planned archives match their recipe hashes. See foundation/release-public-mode-repack-01 and foundation/release-public-mode-coverage-01, receipt SHA-256 720dd00bc19b2e954a3e5f3468dd2e583939bd7cc7b5b35236d6612e44942a28 and 59b9373c9f3ad772c1b71382a5afa9536238ef6f3005230d39c90edddbab4693. The overwrite, changed checksum and changed build recipe controls are in foundation/release-public-mode-repack-controls-01, receipt SHA-256 d439c50f39d2d33a148418e6f05db63109dc49f4ca253ee0593c5a7ffd441e40.

The refreshed test-signed feeds contain 152 packages per architecture, with only the six permission-fixed archives changing versions and digests. Both cold desktops and both 138-package desktop-plus-X11 roots passed the installed ownership, ELF and closure checks. The modes made public paths under /usr and /etc/X11 traversable and public files under /usr readable. See foundation/release-public-mode-feed-02 and foundation/release-public-mode-cold-roots-01, receipt SHA-256 5767cf84d69deeeb9199dc1c2981b1ee188f63e4c5ddef16037a6ade69dde47f and 8480179789c477d23db60b0dd3920123e6ea3d3883391234fa7a683a229db37c.

The worker reclaimed about 990 MiB of download cache after matching every archive to its signed feed digest. The per-architecture reference tables retain the original cache modes, timestamps and archive paths. See foundation/release-public-mode-root-cache-reuse-02, receipt SHA-256 ab5cf4b30a4784605aafda6010ecdfe78234922477b54aae50dcfd35c3418ce9.

An in-place update from the first test feed installed all six signed packages. It fixed the compiler file modes and retained 11 restrictive directories on x86_64 and seven on AArch64. The vinix-pkg upgrade hook restores access to the affected public directories when they still have mode 0700. See foundation/release-public-mode-upgrade-01, receipt SHA-256 9342f3a232a4b73d38686d7caeb4f0db0e1a8e9817f46b8a4f4e7e63eeaa937c.

The refreshed feed adds vinix-pkg 1.0.0-2 on both architectures. On x86_64, tests/public-mode-upgrade.py installed the seven signed updates onto a disposable copy of the original 138-package desktop-plus-X11 client. libalpm ran the hook, and the audit reported zero inaccessible paths in /usr and /etc/X11, down from 138. See foundation/release-mode-migration-feed-01 and foundation/release-mode-migration-host-01, receipt SHA-256 c8f6aa4041a25457f6fe433204df66c5c5adc0904599c7a5ed62ae15d62ffd2a and da93252dbc9f1ecfd8ee587bb5fa9ba3fee77827c1f3fe819743c34d94423a45.

The refreshed feed passed clean installs of the desktop profile on both architectures, with 70 packages on x86_64 and 69 on AArch64. Each desktop-plus-X11 install validated 138 signed packages and indexed 335 bitmap fonts. The ownership and target ELF audit matched before and after the worker copied each verified client from scratch storage. See foundation/release-mode-migration-cold-roots-01, receipt SHA-256 e0fc295d07a72cbb59117679f26f975477ad9e97ca9397f29085fc7daffc58f5.

When using tests/disk-root.py --disk-directory with tmpfs, budget for the guest RAM, the allocated blocks of its base disk and the QEMU snapshot. All three are charged to the service that starts the test. The first x86_64 migration replay allocated 3 GiB to QEMU and was killed by its 4,600 MiB service cap. The serial log records the matching root identity but no transaction result. The subsequent replay uses a 2 GiB guest and the same signed inputs. See foundation/release-mode-migration-x64-upgrade-memory-01, receipt SHA-256 f636bf42be7100a3190b30c5be61c31f8fdad6fe0b53e090d78ed89a6f8a6df7.

Set VINIX_QEMU_AMD64_DISK_BUS=nvme when running the x86_64 disk fixtures with a boot helper rebuilt from tests/busybox/boot.v. The guest must read the same ext2 image identity from the NVMe disk before reporting its result. The worker compiled the helper and verified that an unsupported bus fails before creating a boot directory. See foundation/release-mode-migration-nvme-boot-tool-01, receipt SHA-256 54fb85d462983d1ffd845537687201822b14a4aa11b45d77c804586fad92c2a5.

The AMD64 sidecar and signed migration fixtures keep their original backing disks in ~/.local/state/vinix/ports-guest-evidence-20261201 on the maintainer's machine. Each compressed disk was expanded as a stream and matched to the original SHA-256. Check restore.sha256, whose SHA-256 is e85120422a380d813e0f6452526f512f9e20fa867b9d89f10e06aa325c45a7c7, then check the selected *.archive.sha256. Use zstd -d --sparse "$archive" -o "$scratch_disk" with the paths from restore.tsv. Apply the recorded file metadata and verify the restored disk against the original fixture receipt.

The AMD64 SATA sidecar fixture passed all six compiler checks and verified the sidecar checksum. After 5,314 seconds, its ext2 snapshot showed 5,620 more inodes than the original backing disk. QEMU reached the 5,400-second deadline during extraction. The NVMe replay verified the same backing disk's checksum and ext2 format, then booted the same volume identity. The SATA timeout evidence is in foundation/release-mode-migration-sata-sidecar-progress-01, receipt SHA-256 513b0c8848a62857d0c04a3df5f12b716b8f27a0c355a8b0704006dc114921ee.

The AMD64 NVMe sidecar fixture completed extraction, verified the package command and passed the EGL pixel check. Xvfb answered the authenticated readiness probe before the GLX client hit its 120-second deadline. The GLX probe now logs its display, visual, context and pixel phases. The fixture allows 600 seconds for the client by default. Set VINIX_GLX_CLIENT_TIMEOUT to a positive integer in seconds to override it. The timeout evidence is in foundation/release-mode-migration-amd64-sidecar-glx-timeout-01, receipt SHA-256 4674341340dfadd39320ba3fb48b3207077032905e8412a41dbb50b6bd5e3b0c.

The worker built both instrumented probes against the existing signed SDKs and verified their target interpreters, GLX library dependencies and AArch64 load-segment alignment. The signed BusyBox shells passed controls for the default timeout, an override, invalid input and a failing client. See foundation/release-mode-migration-glx-probes-01 and foundation/release-mode-migration-glx-timeout-test-01, receipt SHA-256 6767c427bfcba8e771b8709ae07cbae6b40b421fb8c69d77e301a133f5234d21 and c41f5f5a4b95ed98fe343d0a45ff7703b13a675292a5b5646ae36b8699451ae5.

The migration fixture streams the package transaction to serial and keeps a copy for its hook-error check. The worker ran the fixture's logging block with the signed BusyBox shell and tee applet for each target. It observed both output streams before releasing a held package command, verified that tee preserved a failed package command's exit status, and checked that a reported hook failure stopped the fixture. See foundation/release-mode-migration-stream-fixture-01, receipt SHA-256 c5aecd55f7659f68abf295bad3c8a7b86920fc2d884321e344d422433f33faf5.

The 2 GiB AMD64 migration guest reached the 5,400-second QEMU deadline during the GCC update. The worker read the disposable snapshot after QEMU exited. The installed binutils 2.43.1-5 and FreeGLUT 3.4.0-2 records showed PGP validation. The GCC 14.2.0-3 directory existed, but its installed record was absent and the permission migration was unverified. See foundation/release-mode-migration-amd64-upgrade-terminal-01, receipt SHA-256 c66ab9af9e3c0305ba3b03fe2e6add7833da485e9b4cc8b47793dde8bf935a25.

Use the same signed feed for the downloadable X11 sidecar. Cold-install vinix-release-desktop into one client. Into a second client, cold-install both vinix-release-desktop and vinix-release-x11 with the target font hooks enabled.

python3 tools/bundle-x11.py "$arch" "$desktop_client" "$x11_client" "$auditor" "$output"

The tool audits both clients and checks the package versions, modes, link targets and bytes shared with the desktop. It writes the new paths to a root-owned archive under the published name vinix-x11-amd64.tar.gz or vinix-x11-arm64.tar.gz, with a matching checksum file. The package manager installs from the signed feed. Run python3 tests/x11/bundle.py for the archive layout, link preservation and rejection checks. The worker fixture is in foundation/x11-bundle-fixture-01, receipt SHA-256 0a9abdd8e27a93cc6bb6926b1a95b9c7a46e281274c9fd7015a343c8255781dc.

The x86_64 release sidecar was assembled from a 70-package signed desktop client and a fresh 138-package signed desktop and X11 client. The combined client had 19,854 owned paths and 470 target ELFs. The archive SHA-256 is 86208b16b0141c1ea35b0dfa3c61cb385624db19d07fcea0fec27ef06d732594. See foundation/release-x11-sidecar-01/x86_64, receipt SHA-256 08d3ade0e16f12e1ee6d844c411803147deb572982164e2a2851a0de13a5edbb.

The AArch64 release sidecar was assembled from a 69-package signed desktop client and a fresh 138-package signed desktop and X11 client. The combined client had 20,059 owned paths and 553 target ELFs. The archive SHA-256 is c3e1c0cdef2435f0cbc6996e679ce011e4da52bddacd49bc999fbe76d33e2178. See foundation/release-x11-sidecar-01/aarch64, receipt SHA-256 ac6565f0726c11466be58e85389f89aaed8f065e7ac40bf1d2b0764cf66f1ada.

The refreshed candidate sidecars passed tools/bundle-x11.py --prepared against both signed clients for each architecture. The verifier compared the uncompressed files, modes and links with the audited overlay and checked the compressed archive's SHA-256. The amd64 and arm64 archives contain 6,961 and 7,056 entries, respectively. Neither carries a package manager or a package database. See foundation/release-mode-migration-final-x11-archive-01, receipt SHA-256 dae9774f2156e3b2837986e61cbcead5081138bcf50fea4c65ef6e562fa2bb38.

Both combined clients recorded vpac as the owner of /usr/bin/vpac, xorg-server as the owner of Xorg and Xvfb-glx, mesa-glx-legacy as the owner of libGL.so.1 and the Xorg swrast driver, and mesa as the owner of libEGL.so.1. The per-path comparison with the published Alpine inputs is in foundation/release-x11-required-owners-01, receipt SHA-256 64b3d192e523cd0408fc372762020265c658730f5e628f8c074c359e51fea5ea.

When sharing files between audited roots, preserve the directory modification times and the hard-link relationships within each root. The worker restored the 66 directory times changed by the first x86_64 storage cleanup. It preserved directory times during the AArch64 cleanup. The prepared sidecar check then matched the uncompressed archive byte for byte against both audited roots. See foundation/restored-prepared-x11-stage-01 and foundation/linked-release-x11-package-root-01/aarch64, receipt SHA-256 a5958853ae342c4db880aa78b33fb93ae80297d205ad863df7f9751c222b6781 and 9312871f40bffa9f9dd4aa036e4ec9b03635bcb9b3311938aa7611b77123b9f7.

The x86_64 worker installed the exact release bitmap fonts and mkfontscale from a signed repository with CAP_SYS_CHROOT confined to a private user namespace. vpac ran the bitmap font hook and wrote an index with 335 entries. The cold audit counted 11 packages, 724 owned paths and 20 target ELFs. See foundation/x86-release-graphics-font-hook-02, receipt SHA-256 77684b7d1e0710c0b7472cb12610491bf90a0297b9bd790d88b3e1044afef784.

For the published tarball smoke test, place the sidecar in a disposable copy of the desktop guest root at /vinix-x11-sidecar.tar.gz alongside the egl.v and glx.v probe executables. Prefix the graphics.sh fixture with VINIX_X11_SIDECAR_SHA256 set to the archive's digest from the release manifest. Boot the matching release kernel with tests/disk-root.py --desktop-init and use --space-for with the full graphics root to reserve room for extraction. The guest verifies the archive, extracts it with packaged BusyBox, checks that pkg is unchanged and exercises the same EGL and GLX pixel reads. The worker verified extraction and the DRI hard link with both release BusyBox binaries on a small sidecar fixture. See foundation/ports-sidecar-busybox-extract-proof-01, receipt SHA-256 2af23f5cf0fa836af61eeca8fef7bda77fbf9533a14c8de349d83b6c6fedd185.

Run the native compiler checks in the same guest by placing the toolchain Makefile and source fixtures in /usr/share/vinix-toolchain-test. Start tests/toolchain/guest.sh with VINIX_TOOLCHAIN_NEXT_FIXTURE set to the path of the prepared graphics fixture. The toolchain script prints its completion marker and runs the graphics fixture, which reports the final guest result and powers off.

Both architectures passed the desktop PID 1 and framebuffer checks from a disposable ext2 image. Those runs used the five checksum-pinned native programs from the November 28 release. The x86_64 chained fixture also ran its second script after registration and verified the larger disk size. A separate test published a signed feed with --publish-only, then installed musl and netbase into a clean root using the pinned public key. See foundation/native-desktop-disk-path-01, foundation/native-desktop-chained-fixture-01 and foundation/combined-publish-only-01, receipt SHA-256 86c564cb9415859d2411343f74b8ad8926418c16bedb4a612aab85db46137ccd, cb2d6c6afbdf2733676080f49792aa11b10907d1778d2bc3d01ae3317874a7e0 and afde40678739b96cf16db58803ef87447ae4499a9e70f3425814a244e12d6883.

Set VINIX_MESA_NATIVE_FILE to a Meson native machine file whose pkg_config_path includes a build-host wayland-scanner.pc. The worker reused the source-built x86_64 Wayland scanner from an audited signed root. Meson found the native scanner through that file, found the target Wayland client in the SDK, and generated a protocol header. Mako and Intel CLC run in the build environment. See xorg/mesa-host-tools-03/generator-check, receipt SHA-256 8df63367710d4ead9e968d30fe97eb3c63b45b4eba0f444447f5bf75b0cd4229.

When using Bison from the worker's private host sysroot, set BISON_PKGDATADIR to that sysroot's usr/share/bison and M4 to its usr/bin/m4. Bison's compiled-in paths refer to the original host locations. The AArch64 legacy Mesa build hit this while generating the GLSL preprocessor parser. The worker then generated a C parser and header with both private paths set. See foundation/mesa-bison-host-check-02, receipt SHA-256 2006fc3964a1dd2a17c11ea0f78208a677a3cc024825d2af416097db41fd1df0.

Mesa 24.2.8's AArch64 Etnaviv generator also needs host pycparser and PLY. The worker extracted Ubuntu's python3-pycparser 2.21-1 and python3-ply 3.11-6 into a private directory and added that directory to PYTHONPATH alongside Mako. It then ran the pinned Mesa generator with all three chip feature databases and verified the generated header. See foundation/mesa-etnaviv-host-01, receipt SHA-256 0ca1b6b78056e427b8802731aa8690ad499dd84fe9e03ef9783de19415a6e060. host-tools.lock records the download paths and digests.

The worker verified the pinned source downloads for FreeGLUT, GLU, Mesa demos, Xorg, fbdev and xinit. Both architecture plans use the same recipe bytes for these six ports. vpac --recipe-run RECIPE prepare applied the Xorg, fbdev and Mesa demos patches to fresh source copies. These checks cover source preparation. The package builds require their installed Mesa and Xorg dependencies. See xorg/release-source-preparation-01, receipt SHA-256 9f5c19dae1d300cae1f83de508b655a549add834039d23ee7ac38a3612d4446f.

AArch64 mesa-glx-legacy 24.0.9-1 built against 42 signed SDK packages and passed the 16 KiB ELF audit. Its archive SHA-256 is c0740ba8427e7df67222ea0630fb38d0052d8d4bfe847516524b1a17018791cd. A fresh 32-package signed install audited 5,571 paths and 143 target ELFs. The package owned libGL.so.1 and swrast_dri.so, which shares an inode with libgallium_dri.so and requires libLLVM-17.so. The QEMU guest loaded both libraries with immediate relocation and called the swrast DRI extension entry point successfully. To reproduce this check before Xorg is ready, build legacy-loader.v as a dynamic executable against the installed SDK, stage it at /vinix-legacy-loader, and boot legacy-loader.sh with tests/disk-root.py. See xorg/legacy-loader-aarch64-02, receipt SHA-256 426e0027e3ea9a7338d6d7bbe335fd61a71bf2442236d67544a661e08a9be57d. The authenticated GLX pixel test still requires Xvfb-glx.

The x86_64 mesa-glx-legacy 24.0.9-1 build used 42 signed SDK packages and passed the ELF audit. Its archive SHA-256 is ec9680fa3eba469240d09e2c28e37202806a6ebf0cf2c741b07b28bce5bb248f. The source and archive coverage check verified 149 of 158 x86_64 outputs after adding it. See release-inputs/upstream-7f173671/mesa-legacy-x86-release-coverage-01, receipt SHA-256 a38a2ae3baae879d675637bf0bbc3dfc323f2a6e711cb4fa186edad2105e4201. A clean signed install audited 32 packages, 5,506 owned paths and 102 ELFs. The candidate kernel then booted the root, loaded libGL and the swrast DRI driver, and called the driver's extension entry point. See xorg/legacy-loader-x86_64-01, receipt SHA-256 69c97c6a0c0b7ebe65cfc3b793022407d5abba04c6f287a5aaf3385af97e6abe.

The x86_64 legacy loader's disk and clients are recoverable from foundation/archived-legacy-x86-guest-and-https-client-01, receipt SHA-256 dbc33a29e29463d3897193c73d01b0d9c30874f4a88e9f3272e2df036ccc2faa. Verify archives.sha256 and extract from the worker state directory to recover the listed restore-paths.

The refreshed source plan includes the AArch64 GCC runtime release 2 and the split Mesa archives. The graphics dependency inventory found ready archives for 88 x86_64 and 71 AArch64 package names at their planned versions. AArch64 libxml2 had two different archives for 2.13.9-1. The graphics queue uses the archive already installed in the audited LLVM SDK, SHA-256 b5cda4ef51da15ed533f54354aa54bdadf0b604fa3db5cfa1b903ed914206a5e. See xorg/mesa-dependency-pool-01 and release-inputs/upstream-7f173671/order-02, receipt SHA-256 b5c322922dc200c50a7ac7d36fa9f07f5c09a699c1ca40dd7e13a6182bd01959 and 0432bbc6fff489421b88046086cd2de6f8cddc6242fd40605c2bbc70b2d0ff2b.

Restore the legacy loader guest's disk from xorg/archived-legacy-loader-aarch64-01/root.ext2.zst to the path in restore-path, then check the uncompressed digest in the original guest's disk/receipts.sha256. The archive receipt SHA-256 is ed44315d6fa501daea41cb912b12921b4dc5ab3a2d0ceb8cfa4bc06810915195.