feat(iso): add Gamescope session and systemd user units#3
Open
Count-I wants to merge 1 commit into
Open
Conversation
Creates the complete systemd unit set for the MinecrarchOS session layer. These units define the boot flow: autologin → gamescope-session → minecrarch-shell → services iso/airootfs/etc/systemd/user/: - gamescope-session.service: launches Gamescope --fullscreen with minecrarch-shell as child; RestartSec=3s, StartLimitBurst=3 to prevent boot loops on repeated Gamescope failures - minecrarch-shell.service: Requires=modpack-manager, starts after logging + modpack-manager are on D-Bus - minecrarch-modpack-manager.service: Type=dbus with BusName so systemd knows the service is ready when it registers on the bus - minecrarch-logging.service: starts first (no After= other than dbus) - minecrarch-overlay.service: non-critical, After=logging - minecrarch-updater.service: non-critical, After=logging, RestartSec=5s - default.target.wants/gamescope-session.service: symlink for autostart iso/airootfs/etc/systemd/system/getty@tty1.service.d/autologin.conf: - autologin for 'minecrarch' user; double ExecStart= pattern clears the default before setting the autologin variant (systemd override convention) Service startup order per docs/session-model.md: logging → [modpack-manager, overlay, updater] in parallel → shell ADR-0005 (Gamescope), ADR-0006 (no DE), ADR-0009 (shell orchestration)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Define el conjunto completo de systemd units para la capa de sesión de MinecrarchOS. Implementa el boot flow definido en
docs/session-model.md:Files
gamescope-session.service— lanza Gamescope--fullscreencon el shell como child; StartLimitBurst=3 para prevenir boot loopsminecrarch-shell.service—Requires=modpack-manager, arranca después de logging + modpack-manager en D-Busminecrarch-modpack-manager.service—Type=dbuscon BusName; systemd espera hasta que el servicio se registra en el busminecrarch-logging.service— arranca primero (solo depende de dbus)minecrarch-overlay.service— no-crítico, After=loggingminecrarch-updater.service— no-crítico, After=logging, RestartSec=5sdefault.target.wants/gamescope-session.service— symlink de autostartgetty@tty1.service.d/autologin.conf— autologin para usuariominecrarchStartup ordering (per docs/session-model.md)
ADR references
ADR-0005 (Gamescope como compositor de sesión), ADR-0006 (sin DE), ADR-0009 (shell como capa de orquestación)