From 03ea1f3a4af219fc6750fbe29c0fd11755013546 Mon Sep 17 00:00:00 2001 From: diviocity Date: Mon, 30 Nov 2026 04:33:32 +0100 Subject: [PATCH] Verify moved Zsh completions and native ownership of release defaults --- PROFILES.md | 2 ++ tests/userland/paths.sh | 1 + tools/release-owners.py | 14 +++++++++++++- 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/PROFILES.md b/PROFILES.md index 2646e12..45c3ad7 100644 --- a/PROFILES.md +++ b/PROFILES.md @@ -104,6 +104,8 @@ The next clean x86_64 install resolved 129 signed packages in ten dependency sta 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`. +Two more Zsh 5.9 completions have verified replacements in 5.9.2. The release kernel ran `compinit` and checked that `pmap` selected `_pmap` from the Unix directory and `chcon` selected `_selinux`, bringing the x86_64 relocation count to 1,362. Both signed SDKs' public `unistd.h` produced the original LP64/OFF64 feature macros. The x86_64 owner table records the CA updater for the generated certificate bundle and hash links and the desktop PID 1 for default startup. See `foundation/relocated-guest-x86-02` and `foundation/release-native-owners-03`, receipt manifests `f6df0b88ba418f246874810377330ee7f1c72878b213b053f5c1c0f21bcbfee5` and `15ad4349545783af2425379d57b4ade68fdc4cbdcd268455d8e7613dff3773d8`. + The x86_64 first-boot registration screen ran with a clean, 15-package vpac root and its packaged release PID 1. The test added the five native Vinix programs from the checksum-pinned release initramfs and checked their hashes inside the guest. The guest observed both the graphical session and the registration process, then sampled at least 24 colors from the 1024×768 framebuffer. Reproduce this with `tests/desktop-guest.py`. The worker retains the manifest and serial transcript in `foundation/desktop-registration-x86-01`, receipt SHA-256 `0f0a3bc88bbb2b4921df92510163a43afbaaf8f683b05fe8bf180a62f9888129`. The arm64 desktop init uses the Vinix V generator and freestanding syscall implementation at revision `c34a6707e1d8d3a23d0b1bfe6e6dbb16290e4f75`. Clang's builtin headers supply the integer types. The worker checked the generated executable's entry point, syscall symbol, static linkage and four 16 KiB load segments. See `foundation/desktop-init-arm-probe-06/receipts.sha256`, SHA-256 `42ef835ad6544be6fbe87f6ee8bc7f068ba6b4ac99a10449ec6a674b69807907`. The signed arm64 desktop installation and its first-boot test are subsequent checks. diff --git a/tests/userland/paths.sh b/tests/userland/paths.sh index 83f636e..f07d6ee 100644 --- a/tests/userland/paths.sh +++ b/tests/userland/paths.sh @@ -14,6 +14,7 @@ cd /tmp zmodload zsh/attr && zmodload zsh/zle && zmodload zsh/complete || exit 1 autoload -Uz compinit && compinit -i -D || exit 1 (( $+functions[_main_complete] )) || exit 1 + [[ ${_comps[pmap]} == _pmap && ${_comps[chcon]} == _selinux ]] || exit 1 print -r -- "Zsh $ZSH_VERSION loaded modules and completions" ' phase=terminfo diff --git a/tools/release-owners.py b/tools/release-owners.py index bc5019a..2d23add 100644 --- a/tools/release-owners.py +++ b/tools/release-owners.py @@ -90,7 +90,13 @@ def relocated(row, path, arch, versions): for base in ("usr/share/zsh", "usr/lib/zsh"): prefix = f"{base}/{old}/" if path.startswith(prefix): - return f"{base}/{new}/" + path.removeprefix(prefix) + suffix = path.removeprefix(prefix) + if base == "usr/share/zsh" and old == "5.9" and new == "5.9.2": + suffix = { + "functions/Completion/Linux/_pmap": "functions/Completion/Unix/_pmap", + "functions/Completion/Linux/_chcon": "functions/Completion/Linux/_selinux", + }.get(suffix, suffix) + return f"{base}/{new}/{suffix}" if origin in ("font-misc-misc", "font-cursor-misc", "font-alias") and path.startswith("usr/share/fonts/misc/"): return "usr/share/fonts/X11/misc/" + path.removeprefix("usr/share/fonts/misc/") if origin == "ncurses" and path.startswith("etc/terminfo/"): @@ -108,6 +114,12 @@ def replacement(row, path): return "etc/os-release", "vinix-release", "operating system identity" if row["binary"] == "apk-tools" and path == "sbin/apk": return "usr/bin/vpac", "vpac", "package management" + if row["binary"] == "musl-dev" and path == "usr/include/bits/posix.h": + return "usr/include/unistd.h", "musl", "POSIX LP64/OFF64 feature macros" + if row["binary"] == "ca-certificates" and path == "etc/apk/protected_paths.d/ca-certificates.list": + return "usr/sbin/update-ca-certificates", "ca-certificates", "regeneration of CA bundle and hash links" + if row["binary"] == "alpine-baselayout-data" and path == "etc/inittab": + return "sbin/init", "vinix-desktop-init", "default desktop startup" return None -- 2.56.1