#!/usr/bin/env bash
# shellcheck disable=SC2034

iso_name="melawy-linux"
iso_label="Melawy-Linux-$(date +%Y%m)"
iso_publisher="Melawy Linux <https://github.com/Melawy>"
iso_application="Melawy Linux Live/Rescue CD"
iso_version="$(date +%Y.%m.%d)"
install_dir="arch"
buildmodes=('iso')
quiet="n"
work_dir="work"
out_dir="out"
# bootmodes=('bios.syslinux.mbr' 'bios.syslinux.eltorito'
#            'uefi-x64.systemd-boot.esp' 'uefi-x64.systemd-boot.eltorito'
#            'uefi-ia32.grub.esp' 'uefi-x64.grub.esp'
#            'uefi-ia32.grub.eltorito' 'uefi-x64.grub.eltorito')
bootmodes=('bios.syslinux.mbr' 'bios.syslinux.eltorito'
           'uefi-x64.systemd-boot.esp' 'uefi-x64.systemd-boot.eltorito')
arch="x86_64"
pacman_conf="airootfs/etc/pacman.conf"
airootfs_image_type="squashfs"
airootfs_image_tool_options=('-comp' 'xz' '-Xbcj' 'x86' '-b' '1M' '-Xdict-size' '1M')
file_permissions=(
  ["/etc/shadow"]="0:0:400"
  ["/etc/gshadow"]="0:0:400"
  ["/root"]="0:0:750"
  ["/root/.automated_script.sh"]="0:0:755"
  ["/usr/local/bin/choose-mirror"]="0:0:755"
  ["/usr/local/bin/Installation_guide"]="0:0:755"
  ["/usr/local/bin/livecd-sound"]="0:0:755"
  ["/etc/polkit-1/rules.d"]="0:0:750"
  ["/etc/sudoers.d"]="0:0:750"
  ["/etc/sudoers.d/g_wheel"]="0:0:440"
  ["/usr/local/bin/displaymanager-check"]="0:0:755"
  ["/usr/local/bin/fix-keys"]="0:0:755"
  ["/usr/bin/GPU-Intel-installer"]="0:0:755"
  ["/usr/bin/device-info"]="0:0:755"
  ["/usr/bin/melawy-linux-connection-checker"]="0:0:755"
)
