From e88ac430f2b0cced961e91325297117120f6bfdb Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Sat, 4 Sep 2021 20:54:25 +0200 Subject: Fixed edge case where size of disks could be exactly 40GB and a /home would never be created on single devices. --- archinstall/lib/disk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- cgit v1.2.3-54-g00ecf