Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples/guided.py
diff options
context:
space:
mode:
authorHTV04 <53527582+HTV04@users.noreply.github.com>2022-01-07 04:55:51 -0500
committerGitHub <noreply@github.com>2022-01-07 09:55:51 +0000
commit08d7375e6298084166fc8a0902666956346549c6 (patch)
tree7d45d9283d4112557c069120802bac4d48cc9274 /examples/guided.py
parent762cea1da8d3dcba7da257668cb694a00dc8774e (diff)
Fix partition layout (#794)
* Fix partition layout * Tweaked the numbers to match the alignment of previous partitions. Co-authored-by: Anton Hvornum <anton.feeds@gmail.com>
Diffstat (limited to 'examples/guided.py')
-rw-r--r--examples/guided.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/guided.py b/examples/guided.py
index 0760baf1..e8a1f4df 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -255,8 +255,8 @@ def perform_installation(mountpoint):
# Placing /boot check during installation because this will catch both re-use and wipe scenarios.
for partition in installation.partitions:
if partition.mountpoint == installation.target + '/boot':
- if partition.size <= 0.25: # in GB
- raise archinstall.DiskError(f"The selected /boot partition in use is not large enough to properly install a boot loader. Please resize it to at least 256MB and re-run the installation.")
+ if partition.size < 0.19: # ~200 MiB in GiB
+ raise archinstall.DiskError(f"The selected /boot partition in use is not large enough to properly install a boot loader. Please resize it to at least 200MiB and re-run the installation.")
# if len(mirrors):
# Certain services might be running that affects the system during installation.