From 96fb7df4773be86559baf4b6849d3d2c5158e30e Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 13 Jul 2026 12:49:16 -0700 Subject: [PATCH] Only promote firmware during kernel transitions --- install/config/hardware/intel/sof-firmware.sh | 4 ---- migrations/1783834201.sh | 13 ++----------- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/install/config/hardware/intel/sof-firmware.sh b/install/config/hardware/intel/sof-firmware.sh index 3fd07222..6d9b1294 100644 --- a/install/config/hardware/intel/sof-firmware.sh +++ b/install/config/hardware/intel/sof-firmware.sh @@ -3,11 +3,7 @@ # the DSP; without it the DSP fails to boot and PipeWire exposes only a Dummy # Output sink. This affects Arrow Lake, Meteor Lake, Tiger Lake, Alder Lake, # Wildcat Lake, Panther Lake, and similar platforms. -# -# Mark the package explicit so the orphan sweep cannot remove firmware that was -# originally installed as a linux-ptl dependency. if omarchy-hw-intel-sof; then omarchy-pkg-add sof-firmware - sudo pacman -D --asexplicit sof-firmware >/dev/null fi diff --git a/migrations/1783834201.sh b/migrations/1783834201.sh index f764aadd..a0aac722 100644 --- a/migrations/1783834201.sh +++ b/migrations/1783834201.sh @@ -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