Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/scripts/guided.py
diff options
context:
space:
mode:
authorcodefiles <11915375+codefiles@users.noreply.github.com>2023-05-12 08:01:24 -0400
committerGitHub <noreply@github.com>2023-05-12 14:01:24 +0200
commit06f35fd289a06c5d142d65466820ff132e838365 (patch)
tree40d9d1aa7368f3c3813d75738879117d6f19525b /archinstall/scripts/guided.py
parent128db1cdf6698aba09915bb7c044404f713755ef (diff)
Install the package `alsa-firmware` if required (#1812)
Diffstat (limited to 'archinstall/scripts/guided.py')
-rw-r--r--archinstall/scripts/guided.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/archinstall/scripts/guided.py b/archinstall/scripts/guided.py
index 9cb4ec2a..1e19c9a3 100644
--- a/archinstall/scripts/guided.py
+++ b/archinstall/scripts/guided.py
@@ -183,8 +183,11 @@ def perform_installation(mountpoint: Path):
elif audio == 'pulseaudio':
installation.add_additional_packages("pulseaudio")
- if SysInfo.requires_sof():
+ if SysInfo.requires_sof_fw():
installation.add_additional_packages('sof-firmware')
+
+ if SysInfo.requires_alsa_fw():
+ installation.add_additional_packages('alsa-firmware')
else:
info("No audio server will be installed")