Package pinned upstream Plasma Setup in the shared Core repository

This commit is contained in:
Pavel Isaev 2026-11-07 00:56:44 +03:00
parent 261fc2a076
commit 46c5284feb
3 changed files with 25 additions and 1 deletions

View file

@ -36,6 +36,14 @@ lock, preserving current and one previous export before creating the next. The
installation cache is preserved. Discover compilation and image acceptance remain
pending; no new publication occurred.
Cycle `20261106T204739Z` compiled Discover successfully and built Core/GNOME, but
KDE failed with `target not found: plasma-setup`. No VM acceptance or publication
followed. The permanent path now builds checksum-pinned upstream Plasma Setup
6.8.2 as a pacman package and includes it in Core's signed local repository before
snapshot capture; KDE consumes that same universe. This requires a fresh Core,
not mutation/reuse of the previous snapshot. The package build and native onboarding
remain unverified. Detailed CLI build logs identify the original package error.
The daily timer on terra has now been disabled and stopped: `inactive`, `disabled`,
no next elapsed time. Manual cycles remain available. The accepted replacement is
the 15th/30th at 00:00 UTC, snapshot-first, with terra infrastructure migrated to

View file

@ -9,6 +9,7 @@ mkdir -p "$output"
systemd-nspawn --quiet --ephemeral --settings=no --register=no \
--machine="archipelago-discover-build-$$" -D "$tools" \
--bind-ro="$source_root/system/integrations/discover:/adapter" \
--bind-ro="$source_root/builder/packages/plasma-setup:/setup-recipe" \
--bind="$cache:/var/cache/pacman/pkg" --bind="$output:/output" \
/bin/bash -euo pipefail -c '
pacman-key --init
@ -29,5 +30,18 @@ mapfile -t plugins < <(find /tmp/discover-build/build -type f -name archipelago-
test "${#plugins[@]}" = 1
install -m755 "${plugins[0]}" /output/archipelago-backend.so
sha256sum /adapter/ArchipelagoBackend.cpp /adapter/CMakeLists.txt /output/discover-6.8.2.tar.xz /output/archipelago-backend.so > /output/SHA256SUMS
# Build the missing upstream onboarding package before Core captures its local
# repository universe. Purpose installs it normally from that signed repository.
source /setup-recipe/PKGBUILD
pacman -S --needed --noconfirm "${depends[@]}" "${makedepends[@]}"
useradd -m package-builder
install -d -o package-builder -g package-builder /tmp/plasma-setup-build
cp /setup-recipe/PKGBUILD /tmp/plasma-setup-build/
chown package-builder:package-builder /tmp/plasma-setup-build/PKGBUILD
runuser -u package-builder -- env SOURCE_DATE_EPOCH=1793145600 bash -ec "cd /tmp/plasma-setup-build; makepkg --noconfirm"
install -m644 /tmp/plasma-setup-build/plasma-setup-6.8.2-1-x86_64.pkg.tar.zst /output/
cp /setup-recipe/PKGBUILD /output/plasma-setup.PKGBUILD
cp /tmp/plasma-setup-build/plasma-setup-6.8.2.tar.xz /output/
sha256sum /output/plasma-setup* >> /output/SHA256SUMS
pacman -Q > /output/packages.txt
'

View file

@ -251,7 +251,9 @@ find {remote_root}/probes -type f -name '*.py' -exec sha256sum {{}} + >> {remote
phase('building-core')
builds = {v: remote_root + '/' + v + '/build' for v in variants}
build_env = dict(config['build_environment'], ARCHIPELAGO_SOFTWARE_PLUGIN=remote_root + '/software-adapter/libgs_plugin_archipelago.so',
ARCHIPELAGO_LOG_DIR=remote_root + '/cli-logs')
ARCHIPELAGO_LOG_DIR=remote_root + '/cli-logs')
if 'kde' in desktops:
build_env['ARCHIPELAGO_PLASMA_SETUP_PACKAGE'] = remote_root + '/discover-adapter/plasma-setup-6.8.2-1-x86_64.pkg.tar.zst'
if 'kde' in desktops and build_env.get('ARCHIPELAGO_UPDATE_PROFILE'):
original_profile = build_env['ARCHIPELAGO_UPDATE_PROFILE']
generated_profile = remote_root + '/update.json'