Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-05-15 14:23:59 +0200
committerAnton Hvornum <anton@hvornum.se>2021-05-15 14:23:59 +0200
commite8d241ec96070ab471eebf7cfc9094c341c42466 (patch)
tree2b8cad155bce7f06d176270dd4030fc37894e01b /examples
parentef1d475fd073a7a7e8254b4872b6c811f281248d (diff)
parentbaf857f4180c6826e1fc08dee88d5f0b4872fd07 (diff)
Merge branch 'master' of github.com:archlinux/archinstall into mypy-workflow
Diffstat (limited to 'examples')
-rw-r--r--examples/guided.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/guided.py b/examples/guided.py
index 40bebabf..0ae253a0 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -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.
@@ -294,8 +292,8 @@ def perform_installation_steps():
unlocked_device.format(fs.find_partition('/').filesystem)
unlocked_device.mount('/mnt')
else:
- fs.find_partition('/').format(fs.find_partition('/').filesystem)
fs.find_partition('/').mount('/mnt')
+
if hasUEFI():
fs.find_partition('/boot').mount('/mnt/boot')