The builder measures the composed tree with image-size.py through a dangling commit, then records archipelago.image-size and archipelago.image-installed-size on the published branch commit. Clients receive both with commit metadata only.
package.sh now writes archipelago.svg and archipelago-symbolic.svg from tokens
rendered by builder::lib, so every edition ships the identity used by Discover
and GNOME Software. Both desktop finalizers run gtk-update-icon-cache after the
icon is in place.
Published GNOME/KDE images pointed autovt@.service at getty@.service and carried no
/etc/kmscon/kmscon.conf, so logind-opened VTs (tty2+) ran getty: kmscon never served
a desktop VT although D-109 keeps it there.
The kmscon setup sat in a gnome-probe guard inside the Core-tree block of
build-iso.sh. That block only runs for the core profile, so the guard could never
be true for a Purpose build. Move the setup into gnome-finalize.sh and
kde-finalize.sh (which do run for Purpose builds), assert mesa, kmscon.conf and the
autovt alias, and drop the alias that pinned tty1 to getty.
Also remove the remaining dead gnome-probe branches from the Core-tree block and
the ARCHIPELAGO_TOOLBOX_PACKAGE probe injection that could never be used: the
layered path resolves Toolbx from the frozen Core package universe.
A unit test now asserts both desktop finalizers configure kmscon and that the Core
tree does not.
A purpose asset package (or any package shipping usr/etc) made 'mv etc usr/etc'
move one tree inside the other, so the composed root /etc appeared and the
finalizer lost /etc/pacman.conf: 'cp: cannot stat /job/core/etc/pacman.conf'.
This is why plasma-meta and the KDE keyboard defaults could not be composed.
- Merge the two trees when both exist, and assert the invariant that the layer
payload has no root /etc and keeps usr/etc/pacman.conf.
- Do the same defense in depth after composition and before the final mv.
- Apply the identical fix to the Container Runner layer.
flathub:appstream2/x86_64 gets a new commit on every 'flatpak update' and is
never part of what create-usb exports, so comparing it made every refresh look
like a change and rebuilt the whole seed (~10 min per variant). Exclude
appstream refs on both sides; older cached manifests are filtered as well.
A package that installs files under /etc makes the purpose composition build
/job/core/etc from the package payload and lose pacman.conf, which aborts
finalization. The finalizer already writes NM/sudoers/plymouth defaults there.
visudo needs the invoking uid in the chroot's account database; the purpose
stage is a package tree whose /etc is not guaranteed complete at that point.
Check the mode and content instead.
Purpose builds skip the Core-tree block, so a mirror assignment placed there
left `mirror` unset when the live ISO profile was written. Read and validate it
once at the top of the container script.
The mirror guard and the image mirrorlist run inside build-in-container.sh,
where the host-side variable does not exist. Write /job/mirror.txt on the host
and read it in the container.
The greeter is a Plasma session, so the SDDM theme drop-in and the
CompositorCommand input-method flag are gone. Layouts (ru,us) and the
on-screen keyboard now reach the greeter through system-wide kxkbrc and
plasmakeyboardrc, the preset enables plasmalogin.service, and finalization
checks the package/unit and that SDDM is absent.
The cache path was computed from a host-only variable inside the nspawn,
where it is unset (set -u aborted the Core build). Define it in the outer
script and expose it as /archipelago-locale-cache.
- build-iso.sh writes ARCHIPELAGO_MIRROR_URL into the image and airootfs
mirrorlists instead of the hardcoded rolling mirror, and refuses any
repository that is not mirror.nw-sys.ru (rolling or snapshot).
- package.sh ships the getty@tty1 onboarding drop-in under /usr/lib.
- Core/Container Runner use plain getty on tty1; kmscon stays desktop-only.
- Cache the generated locale archive by glibc version and locale.gen.
- Commit build repositories with --fsync=0 (artifacts are fsck-verified).
- Let mkarchiso compress the live image with all available CPUs.