From f10d8abb1389598b283648b997d69b97ae1547a8 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Mon, 25 Apr 2022 09:29:12 +0200 Subject: Set a 'default' argument for audio and removed it as a requirement to continue. (#1081) --- archinstall/lib/menu/global_menu.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'archinstall/lib/menu') 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'): -- cgit v1.2.3-70-g09d2