From c2396fb447279b3709cd3230aa946ef9f771fcf8 Mon Sep 17 00:00:00 2001 From: Ryan Hughes Date: Fri, 22 May 2026 12:26:51 -0400 Subject: [PATCH] orchestrator: preserve offline finalizer timing --- .../usr/share/omarchy-iso/orchestrator/phases_impl.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configs/airootfs/usr/share/omarchy-iso/orchestrator/phases_impl.py b/configs/airootfs/usr/share/omarchy-iso/orchestrator/phases_impl.py index 7001149..5daeb05 100644 --- a/configs/airootfs/usr/share/omarchy-iso/orchestrator/phases_impl.py +++ b/configs/airootfs/usr/share/omarchy-iso/orchestrator/phases_impl.py @@ -37,6 +37,7 @@ import re import shutil import subprocess import textwrap +import time from pathlib import Path from . import archinstall_adapter as arch @@ -889,8 +890,9 @@ def run_chroot_finalizer(ctx: InstallContext) -> None: # run_logged appends as the install user. Create the target log before # arch-chroot so the first redirection cannot fail on /var/log perms. target_log = ctx.target / "var" / "log" / "omarchy-install.log" + omarchy_start_time = time.strftime("%Y-%m-%d %H:%M:%S") target_log.parent.mkdir(parents=True, exist_ok=True) - target_log.write_text("=== Omarchy Offline Finalizer Started ===\n") + target_log.write_text(f"=== Omarchy Installation Started: {omarchy_start_time} ===\n") target_log.chmod(0o666) # 4: copy install tooling somewhere arch-chroot will not mask. /tmp is not @@ -927,6 +929,7 @@ def run_chroot_finalizer(ctx: InstallContext) -> None: "OMARCHY_INSTALL_MODE=offline", "OMARCHY_PATH=/usr/share/omarchy", f"OMARCHY_INSTALL={tooling_path / 'install'}", + f"OMARCHY_START_TIME={omarchy_start_time}", f"OMARCHY_USER_NAME={ctx.full_name}", f"OMARCHY_USER_EMAIL={ctx.email}", f"OMARCHY_MIRROR={mirror_channel}",