From f106745c06fdaaf09dfb650dedf6a5a524711506 Mon Sep 17 00:00:00 2001 From: Willian Galvani Date: Fri, 31 May 2024 11:32:41 -0300 Subject: [PATCH] blueos_startup_update: add step for checking pi5 overlays --- core/tools/blueos_startup_update/blueos_startup_update.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/core/tools/blueos_startup_update/blueos_startup_update.py b/core/tools/blueos_startup_update/blueos_startup_update.py index b33f67570f..39cbb2925f 100755 --- a/core/tools/blueos_startup_update/blueos_startup_update.py +++ b/core/tools/blueos_startup_update/blueos_startup_update.py @@ -9,6 +9,7 @@ from typing import List, Optional, Tuple import appdirs +from commonwealth.utils.boot.pi5overlays import load_pi5_overlays_in_runtime from commonwealth.utils.commands import run_command from commonwealth.utils.logs import InterceptHandler, init_logger from loguru import logger @@ -489,6 +490,12 @@ def main() -> int: update_dwc2, ] ) + if host_cpu == CpuType.PI5: + patches_to_apply.extend( + [ + load_pi5_overlays_in_runtime, + ] + ) logger.info("The following patches will be applied if needed:") for patch in patches_to_apply: