Send a final event to notify that upgrade/installation completed (#886)

This commit is contained in:
sonicaj
2025-07-10 21:51:38 +05:00
committed by GitHub
parent 5014f09678
commit 531dcaea20

View File

@@ -256,6 +256,7 @@ def main():
input = json.loads(sys.stdin.read())
old_root = input.get("old_root", None)
is_fresh_install = old_root is None
if input.get("precheck"):
if precheck_result := precheck(old_root):
@@ -672,6 +673,7 @@ def main():
raise
configure_system_for_zectl(pool_name)
write_progress(1.0, f"{'Installation' if is_fresh_install else 'Upgrade'} completed successfully")
if __name__ == "__main__":