From 98e62ae2c6b2d3230274e2aebcb6cbf227c9dfc7 Mon Sep 17 00:00:00 2001 From: Archipelago Date: Fri, 13 Nov 2026 23:08:02 +0300 Subject: [PATCH] Docs: record the /usr/etc payload contract and the finalizer-owned keyboard defaults --- LAYERED-GNOME.md | 6 ++++++ LAYERED-KDE.md | 7 +++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/LAYERED-GNOME.md b/LAYERED-GNOME.md index 717d41e..062dd16 100644 --- a/LAYERED-GNOME.md +++ b/LAYERED-GNOME.md @@ -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 diff --git a/LAYERED-KDE.md b/LAYERED-KDE.md index 2a64ea1..6c6877c 100644 --- a/LAYERED-KDE.md +++ b/LAYERED-KDE.md @@ -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