iso: launch installer via greetd initial_session (proper seat for cage)
seatd alone didn't fix it (getty-autologin gives cage no logind seat; 5x respawn then systemd start-limit -> black). Switch to greetd's initial_session, which creates a real logind session WITH A SEAT and auto-runs cage+calamares (no login prompt). Calamares' striplive restores the tanin-greet greetd config on the target. Drop the getty-autologin + /root/.zprofile hack. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -9,3 +9,4 @@ script:
|
||||
- "rm -f /root/.zprofile"
|
||||
- "rm -f /usr/local/bin/tanin-installer"
|
||||
- "systemctl set-default graphical.target"
|
||||
- "systemctl disable seatd.service"
|
||||
|
||||
@@ -14,6 +14,9 @@ pacman-key --lsign-key 63F0415879323F6BFE0FBFB2B6FDF356206AF4F6
|
||||
|
||||
# --- services in the LIVE image ---
|
||||
systemctl enable NetworkManager.service
|
||||
# seat manager for cage (the getty-autologin root session has no logind seat).
|
||||
systemctl enable seatd.service
|
||||
gpasswd -a root seat 2>/dev/null || true
|
||||
# Live boots to a console on tty1 that auto-launches the installer (cage +
|
||||
# calamares) via getty autologin + /root/.bash_profile. No display-manager.
|
||||
systemctl set-default multi-user.target
|
||||
|
||||
@@ -151,6 +151,11 @@ plymouth
|
||||
# (rebuild via finish-tanin-repo.sh / the calamares one-liner in BUILD.md).
|
||||
cage
|
||||
calamares
|
||||
# seatd: cage/wlroots needs a seat; the getty-autologin has no logind seat, so
|
||||
# run seatd (disabled on the target — greetd uses logind there).
|
||||
seatd
|
||||
# qt6-wayland: calamares (Qt) needs the wayland platform plugin to run under cage
|
||||
qt6-wayland
|
||||
|
||||
# resolve provider prompts non-interactively (mkarchiso can't answer them):
|
||||
# audio -> pipewire's JACK (matches the pipewire stack); netfilter -> iptables(-nft)
|
||||
|
||||
Reference in New Issue
Block a user