Address upgrade migration review feedback

This commit is contained in:
David Heinemeier Hansson committed 2026-07-13 12:40:59 -07:00
1 parent 9791b2279c
commit 08f2d86031
3 files changed
+44 -17

No files matched your search

+10 -3
View File
@@ -5,9 +5,16 @@ echo "Install sof-firmware for all Intel SOF audio DSP platforms (Arrow Lake, Me
# install guard. Without sof-firmware the DSP fails to boot and PipeWire exposes
# only a Dummy Output. Install it now for all qualifying Intel systems.
#
# omarchy-pkg-add is idempotent — systems that already have the package are
# unaffected.
if omarchy-hw-intel-sof; then
firmware_missing=false
if omarchy-pkg-missing sof-firmware; then
firmware_missing=true
fi
omarchy-pkg-add sof-firmware
sudo pacman -D --asexplicit sof-firmware >/dev/null
if [[ $firmware_missing == "true" ]]; then
omarchy-state set reboot-required
fi
fi