Skip to content

Commit

Permalink
fix forgotting remove reboot from post_rollback API
Browse files Browse the repository at this point in the history
  • Loading branch information
Bodong-Yang committed Nov 21, 2024
1 parent e89ffda commit f14e018
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/otaclient/boot_control/_jetson_cboot.py
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,6 @@ def post_rollback(self):
logger.info("jetson-cboot: post-rollback setup...")
self._mp_control.umount_all(ignore_error=True)
self._cboot_control.switch_boot_to_standby()
cmdhelper.reboot()
except Exception as e:
_err_msg = f"failed on post_rollback: {e!r}"
logger.error(_err_msg)
Expand Down
1 change: 0 additions & 1 deletion src/otaclient/boot_control/_jetson_uefi.py
Original file line number Diff line number Diff line change
Expand Up @@ -1098,7 +1098,6 @@ def post_rollback(self):
logger.info("jetson-uefi: post-rollback setup...")
self._mp_control.umount_all(ignore_error=True)
self._uefi_control.switch_boot_to_standby()
cmdhelper.reboot()
except Exception as e:
_err_msg = f"jetson-uefi: failed on post_rollback: {e!r}"
logger.error(_err_msg)
Expand Down
1 change: 0 additions & 1 deletion src/otaclient/boot_control/_rpi_boot.py
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,6 @@ def post_rollback(self):
logger.info("rpi_boot: post-rollback setup...")
self._rpiboot_control.prepare_tryboot_txt()
self._mp_control.umount_all(ignore_error=True)
self._rpiboot_control.reboot_tryboot()
except Exception as e:
_err_msg = f"failed on post_rollback: {e!r}"
logger.error(_err_msg)
Expand Down

0 comments on commit f14e018

Please sign in to comment.