d7691994db
- /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>
31 lines
1.2 KiB
Bash
31 lines
1.2 KiB
Bash
#!/usr/bin/env bash
|
|
# TANINUX (camel) archiso profile — overrides releng's profiledef.sh.
|
|
# shellcheck disable=SC2034
|
|
iso_name="taninux"
|
|
iso_label="TANINUX_$(date +%Y%m)"
|
|
iso_publisher="TANINUX <https://taninux.kgva.ch>"
|
|
iso_application="TANINUX (camel) — niri/eww desktop · live + Calamares installer"
|
|
iso_version="$(date +%Y.%m.%d)"
|
|
install_dir="tanin"
|
|
buildmodes=('iso')
|
|
bootmodes=('bios.syslinux.mbr' 'bios.syslinux.eltorito'
|
|
'uefi-x64.systemd-boot.esp' 'uefi-x64.systemd-boot.eltorito')
|
|
arch="x86_64"
|
|
pacman_conf="pacman.conf"
|
|
airootfs_image_type="squashfs"
|
|
airootfs_image_tool_options=('-comp' 'zstd' '-Xcompression-level' '19' '-b' '1M')
|
|
bootstrap_tarball_compression=('zstd' '-c' '-T0' '--auto-threads=logical' '--long' '-19')
|
|
file_permissions=(
|
|
# --- releng's entries (must keep — we replace releng's profiledef) ---
|
|
["/etc/shadow"]="0:0:400"
|
|
["/root"]="0:0:750"
|
|
["/root/.automated_script.sh"]="0:0:755"
|
|
["/root/.gnupg"]="0:0:700"
|
|
["/usr/local/bin/choose-mirror"]="0:0:755"
|
|
["/usr/local/bin/Installation_guide"]="0:0:755"
|
|
["/usr/local/bin/livecd-sound"]="0:0:755"
|
|
# --- TANINUX additions ---
|
|
["/root/customize_airootfs.sh"]="0:0:755"
|
|
["/usr/local/bin/tanin-installer"]="0:0:755"
|
|
)
|