summaryrefslogtreecommitdiffstats
path: root/src/utils/uefi.py
diff options
context:
space:
mode:
authorAlejandro Sirgo Rica <asirgo@soleta.eu>2024-04-01 12:28:46 +0200
committerAlejandro Sirgo Rica <asirgo@soleta.eu>2024-04-01 13:02:46 +0200
commit474183ab71aadd5b150b5d0a8acf0eae56e43ee2 (patch)
treeefb3e6aa88199cd19bdf71cd1d91c217764ebc88 /src/utils/uefi.py
parenta97fd4acad9dad3a3c3e9958b1e58a8f86d68b9a (diff)
utils: fix mount error messages for os probe operations
Replace unexistent mountpoint variable to report a failed mount operation before an OS probe from a partition. Improve the semantics of the error message replacing 'at' with 'into'. Remove the period at the end of the log message.
Diffstat (limited to 'src/utils/uefi.py')
-rw-r--r--src/utils/uefi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/uefi.py b/src/utils/uefi.py
index 5561a6a..b51d765 100644
--- a/src/utils/uefi.py
+++ b/src/utils/uefi.py
@@ -106,7 +106,7 @@ def copy_windows_efi_bootloader(disk, partition):
device = get_partition_device(disk, partition)
mountpoint = device.replace('dev', 'mnt')
if not mount_mkdir(device, mountpoint):
- raise RuntimeError(f'Cannot probe OS family. Unable to mount {device} at {esp_mountpoint}')
+ raise RuntimeError(f'Cannot probe OS family. Unable to mount {device} into {mountpoint}')
os_family = get_os_family(mountpoint)
is_uefi = is_uefi_supported()