purposes/common/desktop/README.md
2026-11-17 09:52:53 +00:00

4 KiB

Shared Desktop requirements

D-076 applies to GNOME, KDE and any later Desktop Purpose. Host package requirements are toolbox and podman, with their native dependency closures. toolbox.conf selects the upstream Arch Toolbx image at its latest tag.

D-118 extends the same packages and this exact default to Core, so Core-only images and Container Runner inherit it. builder/adapters/build-iso.sh embeds these two files into the Core image; Desktop finalizers install the same content from the Purpose payload. Change the default here once, not per Purpose.

Change of 2026-11-10 (user direction): the previous D-076 binding to an immutable OCI digest through the synthetic archipelago-pinned tag was withdrawn. Stock Toolbx rejected that alias on the user's hardware, while quay.io/toolbx/arch-toolbox:latest was verified working. toolbox-registries.conf therefore no longer installs an exact-reference remap; upstream image updates are accepted on the next explicit toolbox create, and existing user containers are not rewritten. This supersedes the digest-pinning paragraph of D-076; it does not change the requirement that Toolbx and rootless Podman work in every Desktop Purpose.

Copy this default through the selected desktop integration adapter with normal deployment-local /etc preservation. Keep user ~/.config/containers/toolbox.conf overrides. Verify native subuid/subgid allocation during account provisioning; never invent overlapping ranges or overwrite existing mappings. Container/home data belong to the user and persist independently of the image. Creating a container is explicit and may require network access; onboarding itself remains usable offline.

Private integration findings

The 2026-11-07 hardware report confirmed that the published stock toolbox 0.3-2 rejects the digest-bearing default during initialization, even for list. The next candidate keeps upstream Toolbx unchanged: a tag-shaped logical default is mapped by the native containers/image exact-reference registry rule to the same immutable OCI digest (toolbox-registries.conf). This is not a mutable upstream tag or a short-name alias. Only the exact archipelago-pinned reference is remapped; other images retain normal resolution. Installed-VM create/run and post-update persistence still require normal-pipeline acceptance. The patch below remains historical prototype material and is not used by this configuration path.

Terra's GNOME VM exposed a Toolbx 0.3 parsing defect: the digest in image becomes part of the generated container name, so even an explicit CLI container name cannot bypass configuration initialization. toolbox-digest.patch targets upstream commit c66ddd12d9b7dd4b0ea16c2696ea6ed506180959 (tag 0.3). It excludes the digest only when deriving basename/tag; the image reference supplied to Podman remains pinned. toolbox-digest_test.go is copied into upstream src/pkg/utils/ for regression testing. These files are a candidate adaptation, not yet a shipped Arch package. The upstream go test ./pkg/utils suite, including these regressions, passed on terra with the recorded Go builder image and libsubid-dev. Full binary/target verification is still required. The Debian-built full binary failed target sub-ID lookup because upstream embeds the build header's exact libsubid ABI filename. Target binaries must be built with Arch shadow headers/libraries; the successful utility tests alone are insufficient.

The pinned upstream image ran with a diagnostic local alias after archive import. Direct Podman pull, default configuration and package-hook integration remain under test. Native Arch systemd hooks require adaptation for Toolbx's shared host runtime mounts. Prototype scripts are in test-lab/probes/toolbox-*-hook*.sh; do not install them on the host. Promoting them to a derived image/package requires clean-image testing, input/action identities and review of changed upstream hooks. Existing user containers must not be silently rewritten to add these adaptations.

Detailed evidence: test-lab/GNOME-PROBE-2026-11-05.md in the development workspace.