Files
steamify-cachyos-live-iso/archiso/profiledef.sh
T
theupriser 219aef176a fix: make steamify.sh executable on the ISO
steamify-prepare.sh fetches it with curl -o, which doesn't carry the
executable bit, and profiledef.sh's file_permissions never listed this
path. calamares-online.sh execs it directly ("$sbin" --defaults --list)
to regenerate Items.qml/items.json at boot; without +x that failed
silently (stderr redirected), so items.json was never written and the
Summary step's prettyStatus() override always fell back to the raw,
comma-joined id list.
2026-09-28 15:28:56 +02:00

46 lines
1.8 KiB
Bash

#!/usr/bin/env bash
# shellcheck disable=SC2034
iso_name="steamify-cachyos"
iso_label="COS_$(date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y%m)"
iso_publisher="CachyOS <https://cachyos.org>"
iso_application="Steamify CachyOS Live (based on CachyOS)"
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"
)