me

/

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

Exercise release tool, completion, font and terminfo paths on Vinix

diviocity committed 5 days ago · cb356c9f5905cb931af55c684ebc8abd25d8319b View patch
Unverified signature 2 files changed +38 -0
PROFILES.md +2 -0

@@ -101,3 +101,5 @@ On both architectures the published X11 sidecar retains one matching GLU develop

101101Both targets also passed a fresh signed install of musl, `vinix-accounts`, `vinix-filesystem` and `netbase`. Each root had 252 owned files and links and six target ELFs. Run `python3 tests/layout.py "$client/root"` after the installed-root audit to check the modes on shadow, root and the temporary directories, the runtime symlinks and the account and network defaults. The worker retains both runs in `foundation/layout-03` with receipt manifest SHA-256 `d5c1cba079ab9cb1f04f2de7f17ab9d270e9066fc2472ac486fd079fa1139a1e`.

102102

103103The next clean x86_64 install resolved 129 signed packages in ten dependency stages. The auditor counted 18,170 owned files and links and 334 target ELFs. BusyBox 1.38.0-5 owned the shell, and `vinix-desktop-init` owned a byte-identical copy of the published x86_64 PID 1. The X11 bitmap font hook populated the index during installation. Of 3,899 matching release observations, 1,608 had their expected owner at the published path, and 1,360 more had documented relocations. The remaining work includes the native GCC and Mesa stacks, vpac and guest checks. See `foundation/desktop-owners-04`, receipt SHA-256 `819fd43ec280e519dbfa41e1628a5822faedf7f5059c03fd4bdf3e8d6bc24e9b`.

104+

105+The x86_64 path fixture booted the published kernel with a 19-package signed root. It loaded Zsh's attribute, line-editor and completion modules, initialized completion, read the linux, alacritty and xterm-256color terminfo entries, found the indexed Misc Fixed bitmap font, and executed the target-prefixed GNU assembler and linker. The serial transcript is in `foundation/relocated-guest-x86-01`, receipt SHA-256 `c6b8615194003d7ee9490682127a0b2d477b35bac8d37282f97ac94e8bb4eeab`. A separate audit of the 129-package root ran the installed musl loader over all 158 dynamic executable paths on the x86_64 build worker. See `foundation/abi-desktop-129-01`, receipt SHA-256 `9b07bc02aa03c6c5a30411ec760865648f39297d6c270cd8f0e973165a37337b`.

tests/userland/paths.sh new file +36 -0

@@ -0,0 +1,36 @@

1+#!/bin/sh

2+set -eu

3+export PATH=/bin:/usr/bin:/sbin:/usr/sbin HOME=/tmp TERM=xterm-256color

4+phase=shell

5+finish() {

6+ status=$?

7+ if [ "$status" -ne 0 ]; then echo "VPAC package path check failed at $phase"; fi

8+ /sbin/poweroff -f

9+}

10+trap finish EXIT

11+mkdir -p /tmp

12+cd /tmp

13+/bin/zsh -fc '

14+ zmodload zsh/attr && zmodload zsh/zle && zmodload zsh/complete || exit 1

15+ autoload -Uz compinit && compinit -i -D || exit 1

16+ (( $+functions[_main_complete] )) || exit 1

17+ print -r -- "Zsh $ZSH_VERSION loaded modules and completions"

18+'

19+phase=terminfo

20+for term in linux alacritty xterm-256color; do

21+ infocmp "$term" >"/tmp/$term"

22+ grep -q "$term" "/tmp/$term"

23+done

24+phase=fonts

25+font=/usr/share/fonts/X11/misc/10x20.pcf.gz

26+index=/usr/share/fonts/X11/misc/fonts.dir

27+grep -q '^10x20.pcf.gz ' "$index"

28+family=$(fc-scan --format '%{family}' "$font")

29+test -n "$family"

30+printf 'Packaged bitmap font family: %s\n' "$family"

31+phase=binutils

32+target=$(/bin/busybox uname -m)-linux-musl

33+"/usr/$target/bin/as" --version

34+"/usr/$target/bin/ld" --verbose >/tmp/linker-script

35+grep -q 'SECTIONS' /tmp/linker-script

36+echo 'VPAC FIXTURE GUEST PASS'