From aa0b5fb702cd004894ef6ad9a2adeede930cd247 Mon Sep 17 00:00:00 2001 From: "bodong.yang" Date: Fri, 14 Jun 2024 06:57:42 +0000 Subject: [PATCH] jetson-uefi: mkdir the current slot's ota-status dir --- src/otaclient/app/boot_control/_jetson_uefi.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/otaclient/app/boot_control/_jetson_uefi.py b/src/otaclient/app/boot_control/_jetson_uefi.py index 817e68f27..7d41db999 100644 --- a/src/otaclient/app/boot_control/_jetson_uefi.py +++ b/src/otaclient/app/boot_control/_jetson_uefi.py @@ -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("/")