Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authoradvaithm <advaith.madhukar@gmail.com>2021-04-20 19:27:16 +0530
committeradvaithm <advaith.madhukar@gmail.com>2021-04-20 19:27:16 +0530
commit1ea02a7e692af2f3db16308b14be2ccdacdcb761 (patch)
treedd7e5bbab9b30be2efed0e6e6d295cef5bd0f647 /examples
parent7872d5b7facf07510bbe27789c7a2f6b5381673f (diff)
we should only look for boot on uefi systems
Diffstat (limited to 'examples')
-rw-r--r--examples/guided.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/guided.py b/examples/guided.py
index 7e36f0b2..df9c9c37 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -268,8 +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')
+ 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.