Only promote firmware during kernel transitions
This commit is contained in:
1 parent
08f2d86031
commit
96fb7df477
2 files changed
+2
-15
No files matched your search
@@ -3,11 +3,7 @@
|
|||||||
# the DSP; without it the DSP fails to boot and PipeWire exposes only a Dummy
|
# 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,
|
# Output sink. This affects Arrow Lake, Meteor Lake, Tiger Lake, Alder Lake,
|
||||||
# Wildcat Lake, Panther Lake, and similar platforms.
|
# 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
|
if omarchy-hw-intel-sof; then
|
||||||
omarchy-pkg-add sof-firmware
|
omarchy-pkg-add sof-firmware
|
||||||
sudo pacman -D --asexplicit sof-firmware >/dev/null
|
|
||||||
fi
|
fi
|
||||||
@@ -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
|
# 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
|
# 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.
|
# 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
|
omarchy-pkg-add sof-firmware
|
||||||
sudo pacman -D --asexplicit sof-firmware >/dev/null
|
omarchy-state set reboot-required
|
||||||
|
|
||||||
if [[ $firmware_missing == "true" ]]; then
|
|
||||||
omarchy-state set reboot-required
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
Reference in new issue
Block a user