we should only look for boot on uefi systems

This commit is contained in:
advaithm 2021-04-20 19:40:09 +05:30
parent fc8960f2a9
commit 572ab522fc
No known key found for this signature in database
GPG Key ID: E557E45E6DAFFC0C
1 changed files with 2 additions and 1 deletions

View File

@ -268,7 +268,8 @@ def perform_installation_steps():
partition.format()
else:
archinstall.log(f"Did not format {partition} because .safe_to_format() returned False or .allow_formatting was False.", level=archinstall.LOG_LEVELS.Debug)
fs.find_partition('/boot').format('vfat')# we don't have a boot partition in bios mode
if hasUEFI():
fs.find_partition('/boot').format('vfat')# we don't have a boot partition in bios mode
if archinstall.arguments.get('!encryption-password', None):
# First encrypt and unlock, then format the desired partition inside the encrypted part.