Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2022-04-25 09:29:12 +0200
committerGitHub <noreply@github.com>2022-04-25 09:29:12 +0200
commitf10d8abb1389598b283648b997d69b97ae1547a8 (patch)
treefdc5fe43ce061f362fb4a556993ffd369ae2f96d
parenta14604a1b642e41e53b09df7b9b0eabd684045a0 (diff)
Set a 'default' argument for audio and removed it as a requirement to continue. (#1081)
-rw-r--r--archinstall/lib/menu/global_menu.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/archinstall/lib/menu/global_menu.py b/archinstall/lib/menu/global_menu.py
index 0c7c1c20..afccd45b 100644
--- a/archinstall/lib/menu/global_menu.py
+++ b/archinstall/lib/menu/global_menu.py
@@ -118,7 +118,10 @@ class GlobalMenu(GeneralMenu):
self._menu_options['audio'] = \
Selector(
_('Select audio'),
- lambda preset: ask_for_audio_selection(is_desktop_profile(storage['arguments'].get('profile', None)),preset))
+ lambda preset: ask_for_audio_selection(is_desktop_profile(storage['arguments'].get('profile', None)),preset),
+ display_func=lambda x: x if x else 'None',
+ default=None
+ )
self._menu_options['kernels'] = \
Selector(
_('Select kernels'),
@@ -215,8 +218,6 @@ class GlobalMenu(GeneralMenu):
missing += ['Bootloader']
if not check('hostname'):
missing += ['Hostname']
- if not check('audio'):
- missing += ['Audio']
if not check('!root-password') and not check('!superusers'):
missing += [str(_('Either root-password or at least 1 superuser must be specified'))]
if not check('harddrives'):