From f49504c7cee73fdad7abb2df7b16c9667e0f1e3d Mon Sep 17 00:00:00 2001 From: rickpeters Date: Sun, 27 Sep 2026 20:01:29 +0200 Subject: [PATCH] fix: Boost 1.91's libraries on the ISO, so cachyos-calamares-next (linked against 1.91) starts while the repos ship 1.92 --- .gitignore | 1 + steamify-prepare.sh | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/.gitignore b/.gitignore index c21a7cc..83fa909 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,4 @@ archiso/airootfs/etc/pacman.d/cachyos-mirrorlist archiso/airootfs/etc/edition-tag archiso/airootfs/etc/version-tag archiso/airootfs/usr/local/share/steamify/ +archiso/airootfs/usr/lib/libboost_* diff --git a/steamify-prepare.sh b/steamify-prepare.sh index 234cff9..1783fa2 100755 --- a/steamify-prepare.sh +++ b/steamify-prepare.sh @@ -13,4 +13,13 @@ else fi grep -q -- '--defaults' "$dest" || { echo "This Steamify has no --defaults (needs 2.6.0 or newer)." >&2; exit 1; } chmod 755 "$dest" +# Temporary: cachyos-calamares-next 3.4.2-13 is linked against Boost 1.91 +# while the repos ship 1.92, so the installer doesn't start. Boost's +# libraries carry their version in the name: 1.91's sit next to 1.92's. +# Drop this once CachyOS rebuilds the installer. +boost=boost-libs-1.91.0-2-x86_64.pkg.tar.zst +libs="$(cd "$(dirname "$0")" && pwd)/archiso/airootfs" +curl -fsSL "https://archive.archlinux.org/packages/b/boost-libs/$boost" -o "/tmp/$boost" +tar -xf "/tmp/$boost" -C "$libs" --wildcards 'usr/lib/libboost_*.so.1.91.0' +rm -f "/tmp/$boost" echo "Steamify $(grep -m1 '^VERSION=' "$dest" | cut -d= -f2) on the ISO."