Pinning packages when one goes bad (#1162)

* Don't update system packages to prevent issues from something too new at the wrong time

* Add system to pin and ignore bad packages

To deal with the abseil-cpp issue
This commit is contained in:
David Heinemeier Hansson
2025-08-27 12:06:08 +02:00
committed by GitHub
parent a7df6c0941
commit 742e601baf
8 changed files with 35 additions and 2 deletions

13
install/packaging/pins.sh Normal file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
# We pin explicit packages that are bad upstream here
pinned_packages=$(omarchy-pkg-pinned)
if [[ -n $pinned_packages ]]; then
echo -e "\e[32m\nInstall pinned system packages\e[0m"
for pinned in $pinned_packages; do
echo "sudo pacman -U --noconfirm $pinned"
sudo pacman -U --noconfirm $pinned
done
fi