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."