28 lines
976 B
Bash
28 lines
976 B
Bash
|
#!/usr/bin/env bash
|
||
|
# shellcheck disable=SC2034
|
||
|
|
||
|
iso_name="aios"
|
||
|
iso_label="AI_$(date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y%m)"
|
||
|
iso_publisher="ai os <https://git.syui.ai/ai/os>"
|
||
|
iso_application="ai os Live/Rescue DVD"
|
||
|
iso_version="$(date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y.%m.%d)"
|
||
|
install_dir="ai"
|
||
|
#buildmodes=('iso')
|
||
|
buildmodes=('bootstrap')
|
||
|
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"
|
||
|
["/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"
|
||
|
)
|