Add skip for partitioning menus (#3121)
This commit is contained in:
parent
985775b143
commit
4aa8317b7c
|
|
@ -49,7 +49,8 @@ def select_devices(preset: list[disk.BDevice] | None = []) -> list[disk.BDevice]
|
||||||
multi=True,
|
multi=True,
|
||||||
preview_style=PreviewStyle.BOTTOM,
|
preview_style=PreviewStyle.BOTTOM,
|
||||||
preview_size='auto',
|
preview_size='auto',
|
||||||
preview_frame=FrameProperties.max('Partitions')
|
preview_frame=FrameProperties.max('Partitions'),
|
||||||
|
allow_skip=True
|
||||||
).run()
|
).run()
|
||||||
|
|
||||||
match result.type_:
|
match result.type_:
|
||||||
|
|
@ -143,8 +144,10 @@ def select_disk_config(
|
||||||
output = 'You will use whatever drive-setup is mounted at the specified directory\n'
|
output = 'You will use whatever drive-setup is mounted at the specified directory\n'
|
||||||
output += "WARNING: Archinstall won't check the suitability of this setup\n"
|
output += "WARNING: Archinstall won't check the suitability of this setup\n"
|
||||||
|
|
||||||
path = prompt_dir(str(_('Root mount directory')), output, allow_skip=False)
|
path = prompt_dir(str(_('Root mount directory')), output, allow_skip=True)
|
||||||
assert path is not None
|
|
||||||
|
if path is None:
|
||||||
|
return None
|
||||||
|
|
||||||
mods = disk.device_handler.detect_pre_mounted_mods(path)
|
mods = disk.device_handler.detect_pre_mounted_mods(path)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue