-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathprofiledef.sh.jinja2
More file actions
21 lines (20 loc) · 891 Bytes
/
profiledef.sh.jinja2
File metadata and controls
21 lines (20 loc) · 891 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/env bash
# shellcheck disable=SC2034
iso_name="torilinux"
iso_label="TORI_{{ platform|upper }}_{{ type|upper }}_$(date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" "+%Y%m%d_%H%M%S")"
iso_publisher="Tori Linux"
iso_application="Tori Linux ({{ "CUDA" if platform == "cuda" else "ROCm" }}, {{ type }})"
iso_version="{{ platform }}-{{ type }}-$(date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" "+%Y-%m-%d_%H-%M-%S")"
install_dir="tori_{{ platform }}_{{ type }}"
buildmodes=("iso")
bootmodes=("bios.syslinux.mbr" "bios.syslinux.eltorito"
"uefi-ia32.systemd-boot.esp" "uefi-x64.systemd-boot.esp"
"uefi-ia32.systemd-boot.eltorito" "uefi-x64.systemd-boot.eltorito")
arch="x86_64"
pacman_conf="pacman.conf"
airootfs_image_type="squashfs"
airootfs_image_tool_options=("-comp" "lz4" "-Xhc")
file_permissions=(
["/etc/gshadow"]="0:0:400"
["/etc/shadow"]="0:0:400"
)