We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db383a9 commit c785fa3Copy full SHA for c785fa3
1 file changed
src/main.py
@@ -266,6 +266,7 @@ def action_install_into_free(self, avail_free):
266
print()
267
p_message(f"The new OS will be allocated {ssize(os_size)} of space,")
268
p_message(f"leaving {ssize(free_part.size - os_size)} of free space.")
269
+ os_size -= STUB_SIZE
270
271
272
self.flush_input()
@@ -283,7 +284,7 @@ def action_install_into_free(self, avail_free):
283
284
logging.info(f"Creating stub macOS: {label}")
285
self.part = self.dutil.addPartition(free_part.name, "apfs", label, STUB_SIZE)
286
- self.do_install(os_size - STUB_SIZE)
287
+ self.do_install(os_size)
288
289
def do_install(self, total_size=None):
290
p_progress(f"Installing stub macOS into {self.part.name} ({self.part.label})")
0 commit comments