Address upgrade migration review feedback
This commit is contained in:
1 parent
9791b2279c
commit
08f2d86031
3 files changed
+44
-17
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user