Skip to content

Commit

Permalink
blueos_startup_update: add step for checking pi5 overlays
Browse files Browse the repository at this point in the history
  • Loading branch information
Williangalvani committed May 31, 2024
1 parent 30986dc commit f106745
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions core/tools/blueos_startup_update/blueos_startup_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit f106745

Please sign in to comment.