we should only look for boot on uefi systems
This commit is contained in:
parent
7872d5b7fa
commit
1ea02a7e69
|
|
@ -268,8 +268,8 @@ def perform_installation_steps():
|
||||||
partition.format()
|
partition.format()
|
||||||
else:
|
else:
|
||||||
archinstall.log(f"Did not format {partition} because .safe_to_format() returned False or .allow_formatting was False.", level=archinstall.LOG_LEVELS.Debug)
|
archinstall.log(f"Did not format {partition} because .safe_to_format() returned False or .allow_formatting was False.", level=archinstall.LOG_LEVELS.Debug)
|
||||||
|
if hasUEFI():
|
||||||
fs.find_partition('/boot').format('vfat')
|
fs.find_partition('/boot').format('vfat')# we don't have a boot partition in bios mode
|
||||||
|
|
||||||
if archinstall.arguments.get('!encryption-password', None):
|
if archinstall.arguments.get('!encryption-password', None):
|
||||||
# First encrypt and unlock, then format the desired partition inside the encrypted part.
|
# First encrypt and unlock, then format the desired partition inside the encrypted part.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue