Set a 'default' argument for audio and removed it as a requirement to continue. (#1081)
This commit is contained in:
parent
a14604a1b6
commit
f10d8abb13
|
|
@ -118,7 +118,10 @@ class GlobalMenu(GeneralMenu):
|
||||||
self._menu_options['audio'] = \
|
self._menu_options['audio'] = \
|
||||||
Selector(
|
Selector(
|
||||||
_('Select audio'),
|
_('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'] = \
|
self._menu_options['kernels'] = \
|
||||||
Selector(
|
Selector(
|
||||||
_('Select kernels'),
|
_('Select kernels'),
|
||||||
|
|
@ -215,8 +218,6 @@ class GlobalMenu(GeneralMenu):
|
||||||
missing += ['Bootloader']
|
missing += ['Bootloader']
|
||||||
if not check('hostname'):
|
if not check('hostname'):
|
||||||
missing += ['Hostname']
|
missing += ['Hostname']
|
||||||
if not check('audio'):
|
|
||||||
missing += ['Audio']
|
|
||||||
if not check('!root-password') and not check('!superusers'):
|
if not check('!root-password') and not check('!superusers'):
|
||||||
missing += [str(_('Either root-password or at least 1 superuser must be specified'))]
|
missing += [str(_('Either root-password or at least 1 superuser must be specified'))]
|
||||||
if not check('harddrives'):
|
if not check('harddrives'):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue