From b1cdf387b5779d4bdc585122b085c4cd3990b85f Mon Sep 17 00:00:00 2001 From: Daniel Koepping Date: Mon, 10 Aug 2026 21:23:59 -0700 Subject: [PATCH] sync after a build (#38606) * build: sync after a successful build * sync on failed builds too --- openpilot/system/manager/build.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openpilot/system/manager/build.py b/openpilot/system/manager/build.py index 75a7dc63eb..c5fdd6d92a 100755 --- a/openpilot/system/manager/build.py +++ b/openpilot/system/manager/build.py @@ -50,6 +50,8 @@ def build() -> None: if scons.returncode == 0: break + os.sync() + if scons.returncode != 0: # Build failed log errors error_s = b"\n".join(compile_output).decode('utf8', 'replace')