From c84d516bdf8ce6e218e2eb963ef462add69a3d58 Mon Sep 17 00:00:00 2001 From: Thomas Castleman Date: Sun, 16 Jan 2022 15:12:26 -0500 Subject: [PATCH] debug statments Trying to find where #50 is occuring --- usr/share/system-installer/auto_partitioner.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/usr/share/system-installer/auto_partitioner.py b/usr/share/system-installer/auto_partitioner.py index 7420d49c..0a91a523 100755 --- a/usr/share/system-installer/auto_partitioner.py +++ b/usr/share/system-installer/auto_partitioner.py @@ -455,14 +455,17 @@ def partition(root, efi, home, raid_array): # If home == "MAKE", we KNOW there are no partitons because we made a # new partition table if size >= gb_to_bytes(config["mdswh"]): + common.eprint("Getting root partition size") root_end = int((size * 0.35) / (1000 ** 2)) else: root_end = get_min_root_size() if (efi and (part1 is None)): + common.eprint("Making home part") part1 = __make_efi__(device) part2 = __make_root__(device, end=root_end) part3 = __make_home__(device, new_start=root_end) elif part1 is None: + common.eprint("Making home part") part1 = __make_root__(device, start="0%", end=root_end) __make_root_boot__(device) part2 = __make_home__(device, new_start=root_end)