mirror of
https://github.com/theupriser/steamify-cachyos-live-iso.git
synced 2026-10-02 15:10:26 +02:00
fix: Boost 1.91's libraries on the ISO, so cachyos-calamares-next (linked against 1.91) starts while the repos ship 1.92
This commit is contained in:
1 parent
331c799ea7
commit
f49504c7ce
2 files changed
+10
No files matched your search
@@ -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_*
|
||||
@@ -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."
|
||||
Reference in new issue
Block a user