Split setup.sh in chroot-sicheren und Desktop-Teil

setup.sh rief bisher alles in einem Skript auf, was in der
Autoinstall-ISO (curtin in-target/chroot) teilweise fehlschlaegt:
xfconf-query, npm, oh-my-zsh, PrusaSlicer brauchen eine laufende
Desktop-Session.

Neuer Aufbau:
- setup-base.sh: Pakete, Configs, Locale, Services (laeuft in chroot)
- setup-desktop.sh: oh-my-zsh, Claude Code, PrusaSlicer, Dotfiles,
  XFCE-Einstellungen (laeuft beim ersten Desktop-Login)
- setup.sh: Wrapper fuer Option A (manuelles curl | bash nach Install)

user-data ruft jetzt setup-base.sh in late-commands auf und richtet
einen XFCE-Autostart fuer setup-desktop.sh beim ersten Login ein.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
rene 2026-03-07 16:41:22 +01:00
parent 2db0b9b36f
commit 1f530674be
5 changed files with 299 additions and 224 deletions

View file

@ -6,7 +6,9 @@ Automatisiertes Linux-Setup für MacBook Pro 13" Late 2013 und 16" Mid 2014.
| Datei | Beschreibung |
|-------|-------------|
| `setup.sh` | Vollautomatisches Post-Install-Skript |
| `setup.sh` | Wrapper: ruft setup-base.sh + setup-desktop.sh auf (Option A) |
| `setup-base.sh` | System-Setup: Pakete, Configs, Locale, Services (chroot-sicher) |
| `setup-desktop.sh` | Desktop-Setup: oh-my-zsh, Claude Code, PrusaSlicer, Dotfiles, XFCE |
| `user-data` | Ubuntu Autoinstall (cloud-init) für ISO-Erstellung |
| `meta-data` | cloud-init Metadaten (erforderlich) |
| `mbpfan-13.conf` | mbpfan-Konfiguration für MBP 13" Late 2013 |