From d6b3d37527a5f46b3c452c76aec1ea732e7694d8 Mon Sep 17 00:00:00 2001 From: diviocity Date: Tue, 1 Dec 2026 02:46:25 +0100 Subject: [PATCH] Document building the Vinix ports release images --- README.md | 25 +++++++++++++++++++++++++ tests/FEED.md | 2 ++ 2 files changed, 27 insertions(+) diff --git a/README.md b/README.md index b7ae036..0863bae 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,31 @@ The output identifies the source origin for each split binary package and the profiles that require it. The pinned older graphics stack is listed in `PROFILES.md`. The native recipes declare additional build-time dependencies. +## Assemble the default release images + +1. Follow the [bootstrap order](BOOTSTRAP.md) and build the ports for each + target. Compare the resulting archives with the [source plan](PROFILES.md). +2. Sign the selected archives and install two fresh clients per architecture. + Install `vinix-release-desktop` in the first and both release metapackages in + the second. Verify the complete installed version sets and the offline + feed against the source plan. [Feed and closure checks](tests/FEED.md) +3. Use `tools/release-inputs.py` to prepare `amd64/` and `arm64/` for the same + Vinix source commit and release tag. Each directory contains an initramfs, + the X11 overlay, build information and checksums. [Input preparation](tests/FEED.md#assemble-release-inputs) + +Build and test both targets locally on the release worker. Set `prepared` to +the directory containing the two prepared inputs. + +```sh +"$vinix_checkout/scripts/deploy-iso.sh" --no-publish --arch=amd64,arm64 \ + --ref="$vinix_commit" --tag="$release_tag" --ports-inputs="$prepared" +``` + +Verify both output ISOs against their prepared initramfs files and run the +[guest X11 tests](tests/x11/README.md) on the final archives. The prepared +images embed the feed's public signing key. Build public release inputs with +the release signer's key and verify its fingerprint independently. + ## Bootstrap a build root Use an ordinary user on x86-64 Linux with vpac's native Vile builder. The diff --git a/tests/FEED.md b/tests/FEED.md index 3f1eb1a..502909d 100644 --- a/tests/FEED.md +++ b/tests/FEED.md @@ -188,6 +188,8 @@ The remaining x86_64 desktop staging directory and both completed desktop builde The AArch64 desktop disk, staged root and cold client are recoverable from `foundation/archived-native-desktop-arm64-01/desktop-guest.tar.zst`. The worker moved the archive to disk-backed storage as recorded in `foundation/offloaded-audit-bundles-04`, receipt SHA-256 `f35251f4fc53ea2a59f802ee610c9db4ffe419f2ddd0a04e283e4961e128bbee`. Restore the archive to the worker before extracting it from the project directory to recover the paths in `restore-paths`. The archive receipt SHA-256 is `c6547584b10663b6ce1b413b55e8045883630836d7547a981afc4fb82fad1693`. +### Assemble release inputs + For Vinix's release driver with `--ports-inputs` support, prepare one directory per architecture. Use a signed feed containing both desktop and X11, a cold desktop client, and a second client with X11 installed in addition to the same desktop versions. Pass a native layer built from the selected Vinix source revision and the release signer's independently obtained fingerprint. ```sh -- 2.56.1