From 45848b255cfeed2daa46cb995d838964f1d88870 Mon Sep 17 00:00:00 2001 From: diviocity Date: Mon, 30 Nov 2026 13:51:54 +0100 Subject: [PATCH] Verify the signed btop package on both Vinix kernels --- PROFILES.md | 2 ++ tests/userland/btop.sh | 17 ++++++++++++++--- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/PROFILES.md b/PROFILES.md index 0f1e2c4..acef762 100644 --- a/PROFILES.md +++ b/PROFILES.md @@ -16,6 +16,8 @@ The upstream profile adds one input row per architecture. Alpine v3.21 selects b The upstream source plan orders 157 packages in 14 stages on each architecture. The desktop metapackage requires btop and the new AArch64 init with its watchdog. The amd64 init script has the same bytes as in the published release, which lets the new profile use its existing archive. The plans are in `release-inputs/upstream-7f173671/order-01`, receipt SHA-256 `45e137834f354d6effab4d784d6198f2a2d05b207124ddd18d781d46ccc355fc`. +Both btop 1.4.0-1 archives were built against the signed Vinix musl and GNU C++ runtime and checked for their target ELF layout. Each published Vinix kernel booted an eight-package signed root, ran btop's version and help commands, and found the installed theme and manual. See `release-inputs/upstream-7f173671/btop-build-01` and `btop-guests-05`, receipt SHA-256 `888b9bec6a542a464a7f22c5689e894188b1fb1bd22ef8704b91b4bf00aa77a9` and `7c67d8d52bd24eee7c800076b3f3a4407e6c4dc7215fdaa91583873ba906cdcc`. The upstream AArch64 init and watchdog were also built from source and passed static linkage and 16 KiB load-segment checks. See `init-arm16-01`, receipt SHA-256 `20ae3a3806e753b35483f30cb9444f2b9c5aaf11d1e0f00f01b9a0660b4a784d`. + The X11 development sysroot feeds source builds of Xorg/Xvfb 21.1.16 and xf86-video-fbdev 0.5.1. The server's legacy GLX stack additionally consumes four pinned Alpine v3.20 packages on each architecture. These inputs need their exact versions even when the v3.21 scope graph already contains a newer package of the same name. [X11 builder and version pins](https://github.com/vlang/vinix/blob/a58255423edea821aef9b2a0d10cb4091d59355a/scripts/build-x11-aarch64.sh) | v3.20 legacy package | Version | diff --git a/tests/userland/btop.sh b/tests/userland/btop.sh index 5fffde3..6b55e98 100644 --- a/tests/userland/btop.sh +++ b/tests/userland/btop.sh @@ -1,12 +1,23 @@ #!/bin/sh set -eu -export PATH=/bin:/usr/bin:/sbin:/usr/sbin HOME=/root LC_ALL=C.UTF-8 -trap '/sbin/poweroff -f' EXIT +export PATH=/bin:/usr/bin:/sbin:/usr/sbin HOME=/root LC_ALL=C +phase=identity +finish() { + status=$? + if [ "$status" -ne 0 ]; then echo "btop fixture failed at $phase with status $status"; fi + /sbin/poweroff -f +} +trap finish EXIT test "$(uname -o)" = Vinix -test "$(btop --version)" = 'btop version: 1.4.0' +phase=version +version=$(btop --version) +printf '%s\n' "$version" +printf '%s\n' "$version" | grep -Fxq 'btop version: 1.4.0' +phase=help btop --help >/tmp/btop-help grep -Fq -- '--version' /tmp/btop-help +phase=package-data test -s /usr/share/btop/themes/dracula.theme test -s /usr/share/man/man1/btop.1 echo 'VPAC FIXTURE GUEST PASS' -- 2.56.1