Merge pull request #434 from archlinux/torxed-fix-formatting

Fixes dual-boot and /boot getting wiped accidentally
This commit is contained in:
Anton Hvornum 2021-05-14 18:11:02 +00:00 committed by GitHub
commit dc48bad941
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -283,8 +283,6 @@ 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=logging.DEBUG)
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.