Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/disk.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-09-04 20:54:25 +0200
committerAnton Hvornum <anton@hvornum.se>2021-09-04 20:54:25 +0200
commite88ac430f2b0cced961e91325297117120f6bfdb (patch)
tree8ff755ce86f775a1c2f935d02f4cb9e5a4d97929 /archinstall/lib/disk.py
parent278ded8e74fda4451c42a800c75400a24e003309 (diff)
Fixed edge case where size of disks could be exactly 40GB and a /home would never be created on single devices.
Diffstat (limited to 'archinstall/lib/disk.py')
-rw-r--r--archinstall/lib/disk.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall/lib/disk.py b/archinstall/lib/disk.py
index 325a7ca9..e8deb619 100644
--- a/archinstall/lib/disk.py
+++ b/archinstall/lib/disk.py
@@ -146,7 +146,7 @@ def suggest_single_disk_layout(block_device):
}
})
- if block_device.size > MIN_SIZE_TO_ALLOW_HOME_PART:
+ if block_device.size >= MIN_SIZE_TO_ALLOW_HOME_PART:
layout[block_device]['partitions'].append({
# Home
"type" : "primary",