me

/

vinix-ports Public
382 commits 0 issues 0 pull requests 1 contributor Discussions Projects Snippets LOC history Platform CI

Verify the signed btop package on both Vinix kernels

diviocity committed 5 days ago · 45848b255cfeed2daa46cb995d838964f1d88870 View patch
Unverified signature 2 files changed +16 -3
PROFILES.md +2 -0

@@ -16,6 +16,8 @@ The upstream profile adds one input row per architecture. Alpine v3.21 selects b

1616

1717The 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`.

1818

19+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`.

20+

1921The 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)

2022

2123| v3.20 legacy package | Version |

tests/userland/btop.sh +14 -3

@@ -1,12 +1,23 @@

11#!/bin/sh

22set -eu

3-export PATH=/bin:/usr/bin:/sbin:/usr/sbin HOME=/root LC_ALL=C.UTF-8

4-trap '/sbin/poweroff -f' EXIT

3+export PATH=/bin:/usr/bin:/sbin:/usr/sbin HOME=/root LC_ALL=C

4+phase=identity

5+finish() {

6+ status=$?

7+ if [ "$status" -ne 0 ]; then echo "btop fixture failed at $phase with status $status"; fi

8+ /sbin/poweroff -f

9+}

10+trap finish EXIT

511

612test "$(uname -o)" = Vinix

7-test "$(btop --version)" = 'btop version: 1.4.0'

13+phase=version

14+version=$(btop --version)

15+printf '%s\n' "$version"

16+printf '%s\n' "$version" | grep -Fxq 'btop version: 1.4.0'

17+phase=help

818btop --help >/tmp/btop-help

919grep -Fq -- '--version' /tmp/btop-help

20+phase=package-data

1021test -s /usr/share/btop/themes/dracula.theme

1122test -s /usr/share/man/man1/btop.1

1223echo 'VPAC FIXTURE GUEST PASS'