Only promote firmware during kernel transitions

This commit is contained in:
David Heinemeier Hansson committed 2026-07-13 12:49:16 -07:00
1 parent 08f2d86031
commit 96fb7df477
2 files changed
+2 -15

No files matched your search

+2 -11
View File
@@ -4,17 +4,8 @@ echo "Install sof-firmware for all Intel SOF audio DSP platforms (Arrow Lake, Me
# Lake, Tiger Lake, Alder Lake) were not covered by the original sof-firmware
# 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.
#
if omarchy-hw-intel-sof; then
firmware_missing=false
if omarchy-pkg-missing sof-firmware; then
firmware_missing=true
fi
if omarchy-hw-intel-sof && omarchy-pkg-missing sof-firmware; then
omarchy-pkg-add sof-firmware
sudo pacman -D --asexplicit sof-firmware >/dev/null
if [[ $firmware_missing == "true" ]]; then
omarchy-state set reboot-required
fi
omarchy-state set reboot-required
fi