Docs: record the /usr/etc payload contract and the finalizer-owned keyboard defaults

This commit is contained in:
Archipelago 2026-11-13 23:08:02 +03:00
parent 82829ca470
commit 98e62ae2c6
2 changed files with 11 additions and 2 deletions

View file

@ -31,6 +31,12 @@ the existing Core-only path. This is a constrained adapter, not a frozen layer A
Purpose-owned `defaults/os-release-gnome` and `mkinitcpio-gnome.conf` paths.
4. Capture additions and package records into a separate Purpose OSTree commit.
Shared Core packages are requirements, not duplicated Purpose payload.
Layer payload stores machine configuration at `/usr/etc` (Core's layout):
package `/etc` files, including anything a Purpose asset package ships, are
merged there. A layer that left a root `/etc` would collide with the composed
machine configuration, and renaming `usr/etc` into it buried the Core defaults
as `/etc/etc` and lost `pacman.conf` (`mv` into an existing directory nests).
The layer asserts the invariant; composition merges defensively as well.
5. Compose fresh staging from Core plus the checked-out Purpose commit, without
invoking pacman. Validate snapshot, package requirements and every path's input
identity before merging. Reconstruct the package DB from unchanged Core records

View file

@ -5,8 +5,11 @@ readiness. D-110 (2026-11-13) replaces SDDM with Plasma Login Manager, KDE's
SDDM fork: the greeter is a Plasma session, so there are no SDDM themes or
`CompositorCommand` knobs. Keyboard layouts and the virtual keyboard reach the
greeter through the system-wide `/etc/xdg/kxkbrc` (RU+EN) and
`/etc/xdg/plasmakeyboardrc` files in the Purpose payload; finalization checks the
package, the unit, the absence of SDDM and those two files.
`/etc/xdg/plasmakeyboardrc`. Finalization writes them into the composed tree as
machine defaults next to the NetworkManager, sudoers and plymouth defaults; they
are not package payload, because a package shipping `/etc` files used to break the
Purpose composition (see `LAYERED-GNOME.md`, now merged into `usr/etc`).
Finalization checks the package, the unit, the absence of SDDM and both files.
The KDE package selection carries the Plasma Login Manager KCM
(`kcm_plasmalogin`, shipped in `plasma-login-manager`) for login-screen