#!/usr/bin/env bash # shellcheck disable=SC2034 iso_name="steamify-cachyos" # The label follows the release name: the Steamify version on the ISO (steamify-prepare.sh put it there) # plus the build date and time, e.g. STEAMIFY_2_9_1_20260929_1432 (ISO 9660: at most 32 characters, # A-Z 0-9 _). STEAMIFY_BUILD_STAMP (YYYYMMDD_HHMM, Dutch time) from the release workflow, so both name the # same moment; built by hand, the time now (Europe/Amsterdam). _steamify="$(sed -n 's/^VERSION=//p' "${BASH_SOURCE[0]%/*}/airootfs/usr/local/share/steamify/steamify.sh" 2>/dev/null | head -n 1)" _stamp="${STEAMIFY_BUILD_STAMP:-$(TZ=Europe/Amsterdam date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y%m%d_%H%M)}" iso_label="STEAMIFY_${_steamify:+${_steamify//./_}_}${_stamp}" iso_label="${iso_label:0:32}" iso_publisher="CachyOS " iso_application="Steamify CachyOS Live (based on CachyOS)" # The file name (--x86_64.iso) follows the release tag without its v # (STEAMIFY_ISO_VERSION from the release workflow: steamify-cachyos-2.9.3-dev.2026.09.29-2230-x86_64.iso); # built by hand, the date. iso_version="${STEAMIFY_ISO_VERSION:-$(date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y.%m.%d)}" install_dir="arch" buildmodes=('iso') ## GRUB bootmodes=('bios.syslinux' 'uefi.grub') ## systemd-boot #bootmodes=('bios.syslinux' 'uefi.systemd-boot') 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:400" ["/root"]="0:0:750" ["/etc/polkit-1/rules.d"]="0:0:750" ["/etc/sudoers.d"]="0:0:750" ["/etc/sudoers.d/g_wheel"]="0:0:440" ["/root/.automated_script.sh"]="0:0:755" ["/root/.gnupg"]="0:0:700" ["/usr/local/bin/choose-mirror"]="0:0:755" ["/usr/local/bin/dmcheck"]="0:0:755" ["/usr/local/bin/steamify-install"]="0:0:755" ["/usr/local/bin/steamify-live-theme"]="0:0:755" ["/usr/local/bin/calamares-online.sh"]="0:0:755" ["/usr/local/bin/remove-nvidia"]="0:0:755" ["/usr/local/bin/removeun"]="0:0:755" ["/usr/local/bin/removeun-online"]="0:0:755" ["/usr/local/bin/prepare-live-desktop.sh"]="0:0:755" ["/usr/local/bin/nvidia-module-loader"]="0:0:755" ["/usr/local/bin/pkexec-wrapper"]="0:0:755" # steamify-prepare.sh writes this via curl -o, which doesn't carry the # executable bit; calamares-online.sh runs it directly ("$sbin" --defaults # --list) to regenerate Items.qml/items.json at boot, so without this it # silently fails (stderr redirected) and the Steamify page/Summary step # fall back to build-time data. ["/usr/local/share/steamify/steamify.sh"]="0:0:755" )