From f663ce87942abe57ac5a4511b897e4980f304c0d Mon Sep 17 00:00:00 2001 From: rickpeters Date: Sun, 27 Sep 2026 20:07:56 +0200 Subject: [PATCH] fix: CachyOS Hello installs it: version-tag is CachyOS's newest release (Hello calls newer ones testing ISOs), the build date goes to /etc/steammachine-iso-build --- .gitignore | 1 + util-iso.sh | 9 ++++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 83fa909..2b22e51 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,4 @@ archiso/airootfs/etc/edition-tag archiso/airootfs/etc/version-tag archiso/airootfs/usr/local/share/steamify/ archiso/airootfs/usr/lib/libboost_* +archiso/airootfs/etc/steammachine-iso-build diff --git a/util-iso.sh b/util-iso.sh index 30010e1..da76a99 100755 --- a/util-iso.sh +++ b/util-iso.sh @@ -104,7 +104,14 @@ generate_version_tag() { local _profile="$1" local _version="$2" if [ "$_profile" == "desktop" ]; then - echo "${_version}" > ${src_dir}/archiso/airootfs/etc/version-tag + # Steam Machine edition: CachyOS Hello won't install an ISO newer + # than CachyOS's newest release (it calls it a testing ISO), so the + # tag is that release, the one this build follows; the build's own + # date goes to /etc/steammachine-iso-build. + local _release + _release="$(curl -fsS --max-time 20 https://cachyos.org/versions.json | grep -o '"desktopISOVersion":"[0-9]*"' | grep -o '[0-9]\+')" + echo "${_release:-${_version}}" > ${src_dir}/archiso/airootfs/etc/version-tag + echo "${_version}" > ${src_dir}/archiso/airootfs/etc/steammachine-iso-build fi }