Files
taninux/iso/overrides/airootfs/root/.zprofile
T
karim d7691994db iso: fix installer autostart (root uses zsh) + TANINUX branding
- /root/.zprofile launches tanin-installer on tty1 (root shell is zsh, so
  .bash_profile was ignored); striplive removes .zprofile on the target
- profiledef: MERGE releng's file_permissions (lost .automated_script.sh +x ->
  the 'permission denied' message) + keep our entries
- branding: TANINUX os-release/hostname/motd; bootstrap rebrands the boot menus

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-20 02:04:59 +02:00

6 lines
273 B
Bash

# Live ISO: auto-launch the TANINUX installer on the first console.
# (Removed from the installed target by Calamares' shellprocess-striplive.)
if [[ "$(tty)" == /dev/tty1 ]] && [[ -z "$WAYLAND_DISPLAY" ]] && ! pgrep -x cage >/dev/null 2>&1; then
exec tanin-installer
fi