From 27a40702ce2f461a17bacbf23c6afdfd45ee985e Mon Sep 17 00:00:00 2001 From: rickpeters Date: Mon, 28 Sep 2026 19:22:25 +0200 Subject: [PATCH] fix: Steam's OS Variant shows Steamify's version (VARIANT_ID=steamify-2.9.0; Steam shows VARIANT_ID, not VARIANT) --- AGENTS.md | 2 +- CHANGELOG.md | 3 ++- patches/steamify-os-release.sh | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 754af59..ce3dd14 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -314,7 +314,7 @@ gamescope and the Plasma desktop. Primary target: the Valve Steam Machine - What Steam's System settings show (SteamOS conversion, 2.9.0): the OS name stays CachyOS's everywhere (legal clarity; Steam reads `lsb_release -d`, not touched). `/etc/os-release` gets only `VARIANT="Steamify "`, - `VARIANT_ID` and `VERSION_CODENAME=steamos-X.Y` (no `VERSION_ID`: KDE's About + `VARIANT_ID=steamify-` (what Steam shows as OS Variant) and `VERSION_CODENAME=steamos-X.Y` (no `VERSION_ID`: KDE's About this System shows it after the name, "CachyOS Linux 2.9.0") (Valve's newest jupiter repo), refreshed by `os_version_refresh` after every run that changes something; a pacman hook (`zz-steamify-os-release`) runs after diff --git a/CHANGELOG.md b/CHANGELOG.md index e73449f..b59fdb5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,8 @@ one per merged pull request. ## 2.9.0 - 2026-09-28 - `d30d505` **chore: Version 2.9.0** -- **fix: No VERSION_ID in os-release: About this System said "CachyOS Linux 2.9.0"; the version is in VARIANT ("Steamify 2.9.0")** +- **fix: Steam's OS Variant shows Steamify's version (VARIANT_ID=steamify-2.9.0; Steam shows VARIANT_ID, not VARIANT)** +- `44bfe07` **fix: No VERSION_ID in os-release: About this System said "CachyOS Linux 2.9.0"; the version is in VARIANT ("Steamify 2.9.0")** - `435f69c` **feat: Steam's System settings: the OS name stays CachyOS (no renaming, also not in About this System), Steamify as the variant, the SteamOS release it follows as the codename (steamos-3.9)** - `ce71b34` **feat: Steam's System settings and About this System like on SteamOS: OS name "CachyOS with Steamify" (lsb-release, kept through CachyOS updates by a pacman hook), Steamify as OS variant and version (os-release VARIANT/VERSION_ID; NAME/PRETTY_NAME stay CachyOS's for limine, TARGET_OS_NAME pinned), "CachyOS Linux with Steamify" in About this System; on a Steam Machine the serial number and Steam's Wi-Fi backend setting (existing installs get it as an update)** - `07a94cd` **fix(ui): The progress screen's ✓ and ! stand upright: only a dot on the circle spins while a step runs (they kept the spinner's last angle)** diff --git a/patches/steamify-os-release.sh b/patches/steamify-os-release.sh index db9e280..12cadf6 100644 --- a/patches/steamify-os-release.sh +++ b/patches/steamify-os-release.sh @@ -7,6 +7,7 @@ # PRETTY_NAME are never touched: limine-snapper-sync finds the boot entries by # the OS name. The zz-steamify-os-release hook runs this after cachyos-hooks. sed -i -e '/^VARIANT=/d' -e '/^VARIANT_ID=/d' -e '/^VERSION_ID=/d' -e '/^VERSION_CODENAME=/d' /etc/os-release -printf '%s\n' 'VARIANT="Steamify @VERSION@"' 'VARIANT_ID=steamify' >> /etc/os-release +# Steam shows VARIANT_ID as the OS Variant: the version goes in there too. +printf '%s\n' 'VARIANT="Steamify @VERSION@"' 'VARIANT_ID=steamify-@VERSION@' >> /etc/os-release [ -n "@CODENAME@" ] && echo 'VERSION_CODENAME=@CODENAME@' >> /etc/os-release exit 0