Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorcodefiles <11915375+codefiles@users.noreply.github.com>2023-05-12 02:24:14 -0400
committerGitHub <noreply@github.com>2023-05-12 08:24:14 +0200
commit128db1cdf6698aba09915bb7c044404f713755ef (patch)
tree3d224e5b5aa7eae96c94866ba6ae186efb75d1a6 /examples
parent89cefb9a1c7d4c4968e7d8645149078e601c9d1c (diff)
Install the package `sof-firmware` if required (#1811)
Diffstat (limited to 'examples')
-rw-r--r--examples/interactive_installation.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/interactive_installation.py b/examples/interactive_installation.py
index 72595048..5738a9cc 100644
--- a/examples/interactive_installation.py
+++ b/examples/interactive_installation.py
@@ -161,6 +161,9 @@ def perform_installation(mountpoint: Path):
PipewireProfile().install(installation)
elif audio == 'pulseaudio':
installation.add_additional_packages("pulseaudio")
+
+ if SysInfo.requires_sof():
+ installation.add_additional_packages('sof-firmware')
else:
info("No audio server will be installed.")