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:
@@ -28,6 +28,10 @@ grep -rl -e 'vmlinuz-linux' -e 'initramfs-linux' \
|
||||
| xargs -r sed -i -e 's/vmlinuz-linux/vmlinuz-linux-zen/g' \
|
||||
-e 's/initramfs-linux/initramfs-linux-zen/g'
|
||||
|
||||
echo "==> branding: Arch Linux -> TANINUX in the boot menus"
|
||||
grep -rl 'Arch Linux' "$PROFILE/efiboot" "$PROFILE/syslinux" "$PROFILE/grub" 2>/dev/null \
|
||||
| xargs -r sed -i -e 's/Arch Linux/TANINUX/g' -e 's/Archlinux/TANINUX/g'
|
||||
|
||||
echo "==> overlay TANINUX overrides"
|
||||
cat "$HERE/overrides/packages.x86_64" >> "$PROFILE/packages.x86_64"
|
||||
install -m644 "$HERE/overrides/profiledef.sh" "$PROFILE/profiledef.sh"
|
||||
|
||||
Reference in New Issue
Block a user