Skip to content

Commit

Permalink
grub: L402 add logging for active/standby slot's devices path
Browse files Browse the repository at this point in the history
  • Loading branch information
Bodong-Yang committed Oct 27, 2023
1 parent 2eff924 commit 5831c44
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion otaclient/app/boot_control/_grub.py
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,9 @@ def __init__(self) -> None:
self.standby_root_dev = ab_detector.standby_dev
self.active_slot = ab_detector.active_slot
self.standby_slot = ab_detector.standby_slot
logger.info(f"{self.active_slot=}, {self.standby_slot=}")
logger.info(
f"{self.active_slot=}@{self.active_root_dev}, {self.standby_slot=}@{self.standby_root_dev}"
)

self.boot_dir = Path(cfg.BOOT_DIR)
self.grub_file = Path(cfg.GRUB_CFG_PATH)
Expand Down

0 comments on commit 5831c44

Please sign in to comment.