Skip to content

Commit

Permalink
jetson-uefi: mkdir the current slot's ota-status dir
Browse files Browse the repository at this point in the history
  • Loading branch information
Bodong-Yang committed Jun 14, 2024
1 parent e8a1b89 commit aa0b5fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/otaclient/app/boot_control/_jetson_uefi.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,7 @@ class JetsonUEFIBootControl(BootControllerProtocol):

def __init__(self) -> None:
current_ota_status_dir = Path(boot_cfg.OTA_STATUS_DIR)
current_ota_status_dir.mkdir(exist_ok=True, parents=True)
standby_ota_status_dir = Path(cfg.MOUNT_POINT) / Path(
boot_cfg.OTA_STATUS_DIR
).relative_to("/")
Expand Down

0 comments on commit aa0b5fb

Please sign in to comment.