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:02:34 +02:00
parent 710bb023cd
commit 9a5f3f9cee
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