Select Plasma Breeze as KDE SDDM vendor default

This commit is contained in:
Pavel Isaev 2026-11-07 13:10:47 +03:00
parent 70c671cf0d
commit 4c5a96b8df
3 changed files with 15 additions and 0 deletions

View file

@ -1,5 +1,12 @@
# Private layered KDE adapter
D-091 (2026-11-07) authorizes KDE publication after user-confirmed hardware
readiness. The follow-up image selects the packaged Plasma SDDM theme `breeze`
through `/usr/lib/sddm/sddm.conf.d/20-archipelago-theme.conf` in the Purpose
payload. Machine settings in `/etc` retain normal SDDM precedence. Finalization
requires the theme files and the selected default in the composed tree. This
vendor default updates with `/usr` on existing installations as well as fresh ISOs.
`archipelago build iso --purpose kde WORK BOOTSTRAP` renders the same private
Core-reuse/composition path as GNOME, inserting KDE assets before finalization.
It requires `ARCHIPELAGO_CORE_BUILD`, a KDE installation-media Flatpak export,

View file

@ -3,6 +3,9 @@ systemctl --root=/job/core disable systemd-networkd archipelago-firstboot@tty1 a
systemctl --root=/job/core enable NetworkManager sddm plasma-setup bluetooth cups.socket power-profiles-daemon \
archipelago-kde-onboarding.timer archipelago-software-refresh.timer
systemctl --root=/job/core set-default graphical.target
test -f /job/core/usr/share/sddm/themes/breeze/Main.qml
test -f /job/core/usr/share/sddm/themes/breeze/metadata.desktop
grep -qx 'Current=breeze' /job/core/usr/lib/sddm/sddm.conf.d/20-archipelago-theme.conf
mkdir -p /job/core/etc/sddm.conf.d
cat > /job/core/etc/sddm.conf.d/20-archipelago-wayland.conf <<'SDDM'
[General]

View file

@ -9,6 +9,11 @@ sed -e 's/HOOKS=(base systemd /HOOKS=(base systemd plymouth /' \
printf 'plymouth\n' > "$pkg/runtime/usr/lib/archipelago/desktop-boot"
sed 's/Archipelago Core/Archipelago KDE/g' "$pkg/runtime/usr/lib/archipelago/defaults/os-release" > "$pkg/runtime/usr/lib/archipelago/defaults/os-release-kde"
printf 'purpose/desktop/kde\n' > "$pkg/runtime/usr/lib/archipelago/purpose"
mkdir -p "$pkg/runtime/usr/lib/sddm/sddm.conf.d"
cat > "$pkg/runtime/usr/lib/sddm/sddm.conf.d/20-archipelago-theme.conf" <<'SDDM_THEME'
[Theme]
Current=breeze
SDDM_THEME
printf 'Plasma Setup is the native first-user provisioner.\n' > "$pkg/runtime/usr/lib/archipelago/kde-firstboot"
desktop="$pkg/runtime/usr/share/archipelago/desktop"
units="$pkg/runtime/usr/lib/systemd/system"