From 6b6cb56ac628b6900e0c718a15864d17808b2938 Mon Sep 17 00:00:00 2001 From: diviocity Date: Tue, 1 Dec 2026 01:43:53 +0100 Subject: [PATCH] Record byte-for-byte verification of reused X11 sidecars --- tests/x11/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/x11/README.md b/tests/x11/README.md index 42ac0eb..bc09959 100644 --- a/tests/x11/README.md +++ b/tests/x11/README.md @@ -109,6 +109,8 @@ The AArch64 release sidecar was assembled from a 69-package signed desktop clien 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`. -- 2.56.1