From 87c4f1b4af92c55680cc891d3ee7469aced8fd98 Mon Sep 17 00:00:00 2001 From: Daniel Girtler Date: Tue, 21 Oct 2025 21:47:16 +1100 Subject: [PATCH 1/2] Modify formatting warning text to be less scary --- archinstall/lib/disk/filesystem.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/archinstall/lib/disk/filesystem.py b/archinstall/lib/disk/filesystem.py index 432b3ecfeb..0b0b82b40f 100644 --- a/archinstall/lib/disk/filesystem.py +++ b/archinstall/lib/disk/filesystem.py @@ -43,10 +43,8 @@ def perform_filesystem_operations(self, show_countdown: bool = True) -> None: debug('No modifications required') return - device_paths = ', '.join([str(mod.device.device_info.path) for mod in device_mods]) - if show_countdown: - self._final_warning(device_paths) + self._final_warning() # Setup the blockdevice, filesystem (and optionally encryption). # Once that's done, we'll hand over to perform_installation() @@ -337,10 +335,10 @@ def _lvm_vol_handle_e2scrub(self, vol_gp: LvmVolumeGroup) -> None: Size(256, Unit.MiB, SectorSize.default()), ) - def _final_warning(self, device_paths: str) -> bool: + def _final_warning(self) -> bool: # Issue a final warning before we continue with something un-revertable. # We mention the drive one last time, and count from 5 to 0. - out = tr(' ! Formatting {} in ').format(device_paths) + out = tr('Starting device operations in ') Tui.print(out, row=0, endl='', clear_screen=True) try: From fb8db22720347e8cb404bab595b2d645be69ebbc Mon Sep 17 00:00:00 2001 From: Daniel Girtler Date: Tue, 21 Oct 2025 21:49:35 +1100 Subject: [PATCH 2/2] Update --- archinstall/lib/disk/filesystem.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archinstall/lib/disk/filesystem.py b/archinstall/lib/disk/filesystem.py index 0b0b82b40f..c397afa5d6 100644 --- a/archinstall/lib/disk/filesystem.py +++ b/archinstall/lib/disk/filesystem.py @@ -338,7 +338,7 @@ def _lvm_vol_handle_e2scrub(self, vol_gp: LvmVolumeGroup) -> None: def _final_warning(self) -> bool: # Issue a final warning before we continue with something un-revertable. # We mention the drive one last time, and count from 5 to 0. - out = tr('Starting device operations in ') + out = tr('Starting device modifications in ') Tui.print(out, row=0, endl='', clear_screen=True) try: