mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-03 11:21:07 +00:00
uefi: check for free space after cleaning up ESP
In a very small ESP situation it's possible that the amount of free space is insufficient until it's actually been cleaned. Fixes: #2179
This commit is contained in:
parent
e261bb6fa0
commit
2caea54202
@ -515,10 +515,10 @@ fu_uefi_device_prepare (FuDevice *device,
|
||||
/* sanity checks */
|
||||
if (!fu_uefi_device_is_esp_mounted (device, error))
|
||||
return FALSE;
|
||||
if (!fu_uefi_device_check_esp_free (device, error))
|
||||
return FALSE;
|
||||
if (!fu_uefi_device_cleanup_esp (device, error))
|
||||
return FALSE;
|
||||
if (!fu_uefi_device_check_esp_free (device, error))
|
||||
return FALSE;
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user