#!/usr/bin/env bash
# M-Archy archiso profile — based on releng
iso_name="m-archy"
iso_label="M_ARCHY_$(date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y%m)"
iso_publisher="The_miro <https://git.abdelbaki.eu/The_miro/Dotfiles>"
iso_application="M-Archy Arch Linux Installer"
iso_version="$(date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y.%m.%d)"
install_dir="arch"
buildmodes=('iso' 'netboot')
bootmodes=('bios.syslinux' 'uefi.systemd-boot')
arch="x86_64"
pacman_conf="pacman.conf"
airootfs_image_type="squashfs"
airootfs_image_tool_options=('-comp' 'zstd' '-Xcompression-level' '15')
bootstrap_tarball_compression=('zstd' '-c' '-T0' '--auto-threads=logical' '--long' '-19')
file_permissions=(
  ["/etc/shadow"]="0:0:400"
  ["/etc/mkinitcpio.conf.d/archiso.conf"]="0:0:644"
  ["/root"]="0:0:750"
  ["/root/.automated_script.sh"]="0:0:755"
  ["/root/.zlogin"]="0:0:644"
  ["/root/launch.sh"]="0:0:755"
  ["/root/installer/archbaseos-guided-install.sh"]="0:0:755"
  ["/root/installer/arch-autoinstall.sh"]="0:0:755"
  ["/usr/local/bin/install-arch"]="0:0:755"
)
