Verify the complete signed AArch64 desktop in Vinix
@@ -84,6 +84,14 @@ The archive comparison in reuse plan 04 verified 143 of 158 planned x86_64 outpu
8484
8585With the tested SPIR-V Tools archive added, x86_64 has 144 of 158 planned outputs verified. The AArch64 desktop runtime closure has verified archives for 67 of 69 outputs. It needs the native GCC archive and the `vinix-release-desktop` metapackage built against that closure before the clean signed install. See `release-inputs/upstream-7f173671/reuse-plan-05`, receipt SHA-256 `347cd3de8207dfe6e860b42a3a181a38275412d7e2c632fda215e7a8128b2e57`.
8686
87+With AArch64 GCC and the desktop metapackage built, the clean AArch64 desktop install verified all 69 signed packages, 13,341 owned files and links, and 294 target ELFs. Assembly verified and embedded all 69 signed seed packages. See `foundation/desktop-release-arm-02`, receipt SHA-256 `8ce8b825519b0495335aa2d9d2f82f4d0c44566aaedeba82adca25a735f3d848`. The cold client's root and cache are archived with restoration paths in `foundation/archived-arm16-desktop-cold-client-01`, receipt SHA-256 `05fa2d0a78d959a24d9254cb609537fdd243b66439e083f0b4d4c7a5ca86bca4`.
88+
89+The AArch64 release kernel booted the complete desktop root with the five checksum-pinned native programs. It reached graphical registration with the watchdog active, sampled at least 24 framebuffer colors at 1024×768, passed signed package queries through `pkg`, and relocated all 150 dynamically linked position-independent executables. The kernel's serial diagnostic appeared on the same line as the exact ext2 image identity. The worker matched that identity against the seed and disk contents, verified each guest result, and retained the raw serial stream. The harness now accepts the known diagnostic after the complete identity. See `foundation/desktop-cold-guest-arm16-02`, receipt SHA-256 `cc90a5237c7919c89ed32e6a6d3d495af84cd201b864b895f56d8e729ded4660`.
90+
91+The AArch64 export comparison reported differences at nine paths and an absent Alpine `libapk` provider. The follow-up checked 756 distinct missing export names against the published image and X11 sidecar. It found 431 weak imports in the image, 240 in the sidecar and zero strong imports. See `foundation/arm64-export-consumer-check-01`, receipt SHA-256 `0a2168e5f7c1fe851f5a1a0b324a6ab7dd5ea852cdf70f54d43a54f2c685b661`.
92+
93+The archive scan after the AArch64 desktop and SPIR-V Tools builds matched 146 of 158 planned x86_64 archives and 145 of 158 AArch64 archives to their recipe hashes, versions and archive checksums. The 12 remaining x86_64 outputs are in the LLVM 17 and Mesa/X11 dependency chain. AArch64 has 13 outstanding outputs, including LLVM 19 and the separate `elfutils` tools package. The AArch64 SPIR-V Tools package passed a clean four-package signed install and ran its assembler against the installed libraries. See `release-inputs/upstream-7f173671/desktop-and-spirv-release-coverage-01` and `xorg/spirv-tools-aarch64-01`, receipt SHA-256 `d2f70bdbb1410a569cf1b8a906cf7f6ee307a8f66222ff00b5d7e1978d347db8` and `4ba36bcbb732fc6287cabbe7edd48935bb0d44d196e0d938e4c40ee00ccbbfb3`.
94+
8795The 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`.
8896
8997## Running the shared worker
@@ -143,7 +143,9 @@ fn boot_image(root string, iso string, output string, mode string, fixture strin
143143 lines := os.read_lines(log)!.map(it.trim_space())
144144 if disk != '' {
145145 id := os.read_file(os.join_path(root, '.vinix-image-id'))!.trim_space()
146- if id == '' || 'VPAC DISK ROOT ${id}' !in lines {
146+ marker := 'VPAC DISK ROOT ${id}'
147+ // The kernel can start its exec diagnostic before the shell prints the newline.
148+ if id == '' || !lines.any(it == marker || it.starts_with(marker + 'exec: syscall ')) {
147149 return error('guest did not read the matching volume identity; see ${log}')
148150 }
149151 }
@@ -27,7 +27,8 @@ def prepare(args):
2727 disk = work / "root.ext2"
2828 with tempfile.TemporaryDirectory(dir=work) as tmp, (work / "format.log").open("x") as log:
2929 root = Path(tmp) / "root"
30- subprocess.run(["cp", "-a", "--reflink=auto", args.root, root], check=True)
30+ copy_mode = ["-al"] if args.link_inputs else ["-a", "--reflink=auto"]
31+ subprocess.run(["cp", *copy_mode, args.root, root], check=True)
3132 for item in ("dev", "proc", "tmp", "run"):
3233 directory = root / item
3334 if directory.is_symlink():
@@ -103,6 +104,8 @@ if __name__ == "__main__":
103104 help="launch the fixture through the native desktop PID 1 hook")
104105 parser.add_argument("--space-for", type=lambda path: Path(path).resolve(),
105106 help="reserve bytes and inodes for a separate installed package tree")
107+ parser.add_argument("--link-inputs", action="store_true",
108+ help="stage immutable input files with hard links on the same build volume")
106109 for arg in ("root", "fixture", "iso", "boot", "work"):
107110 parser.add_argument(arg, type=lambda path: Path(path).resolve())
108111 run(parser.parse_args())