2022-10-07 06:19:14 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
# shellcheck disable=SC2034
|
|
|
|
|
2022-10-07 07:25:23 +00:00
|
|
|
iso_name="archcraft-xfce"
|
2023-07-21 10:13:56 +00:00
|
|
|
iso_label="ARCHCRAFT_$(date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y%m)"
|
2022-10-07 06:19:14 +00:00
|
|
|
iso_publisher="Aditya Shakya <http://www.github.com/adi1090x>"
|
|
|
|
iso_application="Archcraft Live/Installation/Rescue CD"
|
2023-07-21 10:13:56 +00:00
|
|
|
iso_version="$(date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y.%m.%d)"
|
2022-10-07 06:19:14 +00:00
|
|
|
install_dir="arch"
|
|
|
|
buildmodes=('iso')
|
|
|
|
bootmodes=('bios.syslinux.mbr' 'bios.syslinux.eltorito'
|
|
|
|
'uefi-ia32.grub.esp' 'uefi-x64.grub.esp'
|
|
|
|
'uefi-ia32.grub.eltorito' 'uefi-x64.grub.eltorito')
|
|
|
|
arch="x86_64"
|
|
|
|
pacman_conf="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:0400"
|
|
|
|
["/etc/sudoers.d"]="0:0:750"
|
|
|
|
["/root"]="0:0:750"
|
|
|
|
["/root/.automated_script.sh"]="0:0:755"
|
|
|
|
["/root/customize_airootfs.sh"]="0:0:755"
|
|
|
|
["/usr/local/bin/choose-mirror"]="0:0:755"
|
|
|
|
)
|