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>
This commit is contained in:
@@ -6,6 +6,6 @@ timeout: 30
|
||||
script:
|
||||
- "rm -f /etc/systemd/system/getty@tty1.service.d/autologin.conf"
|
||||
- "rmdir --ignore-fail-on-non-empty /etc/systemd/system/getty@tty1.service.d 2>/dev/null || true"
|
||||
- "rm -f /root/.bash_profile"
|
||||
- "rm -f /root/.zprofile"
|
||||
- "rm -f /usr/local/bin/tanin-installer"
|
||||
- "systemctl set-default graphical.target"
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
taninux
|
||||
@@ -0,0 +1,5 @@
|
||||
|
||||
TANINUX (camel) — a curated Arch desktop: niri + eww.
|
||||
|
||||
The installer launches on tty1. To start it manually: tanin-installer
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
NAME="TANINUX"
|
||||
PRETTY_NAME="TANINUX (camel)"
|
||||
ID=taninux
|
||||
ID_LIKE=arch
|
||||
BUILD_ID=rolling
|
||||
ANSI_COLOR="38;2;163;158;196"
|
||||
HOME_URL="https://taninux.kgva.ch"
|
||||
DOCUMENTATION_URL="https://git.openbureau.ch/karim/taninux"
|
||||
SUPPORT_URL="https://git.openbureau.ch/karim/taninux"
|
||||
BUG_REPORT_URL="https://git.openbureau.ch/karim/taninux/issues"
|
||||
LOGO=taninux
|
||||
@@ -1,6 +0,0 @@
|
||||
# Live ISO: on the first console (tty1), launch the TANINUX installer.
|
||||
# (On an installed system this file isn't present — Calamares' shellprocess
|
||||
# strips the live-only bits from the target.)
|
||||
if [[ "$(tty)" == /dev/tty1 ]] && [[ -z "${WAYLAND_DISPLAY:-}" ]] && ! pgrep -x cage >/dev/null 2>&1; then
|
||||
exec tanin-installer
|
||||
fi
|
||||
@@ -0,0 +1,5 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user