Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradvaithm <advaith.madhukar@gmail.com>2021-04-20 19:40:09 +0530
committeradvaithm <advaith.madhukar@gmail.com>2021-04-20 19:40:09 +0530
commit572ab522fc829a972b6c51774c0e04cc99590fad (patch)
tree86019a829e96cc462b3f3527770ef3e78348bf71
parentfc8960f2a9a9dd15185f8c4f7d9d98463663637c (diff)
we should only look for boot on uefi systems
-rw-r--r--examples/guided.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/guided.py b/examples/guided.py
index 5007fd33..7af77642 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -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.