Fast boot using prebuilt file
Added prebuilt functionality that removes itself whenever the user installs updates to prevent installation failures.
This commit is contained in:
@@ -195,6 +195,10 @@ def main() -> None:
|
||||
|
||||
manager_init()
|
||||
|
||||
# Remove the prebuilt file to prevent boot failures
|
||||
if os.path.exists("/data/openpilot/prebuilt"):
|
||||
os.remove("/data/openpilot/prebuilt")
|
||||
|
||||
# Start UI early so prepare can happen in the background
|
||||
if not prepare_only:
|
||||
managed_processes['ui'].start()
|
||||
|
||||
Reference in New Issue
Block a user