Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 919 Bytes

File metadata and controls

13 lines (10 loc) · 919 Bytes

Callbacks

Aktualizr-lite provides the ability to run an executable at the following OTA operations:

  • Before checking in — check-for-update-pre return: none
  • After checking in — check-for-update-post return: OK or FAILED: reason
  • Before a download — download-pre return: none
  • After a download — download-post return: OK or FAILED: reason
  • Before an install — install-pre return: none
  • After an install — install-post return: NEEDS_COMPLETION, OK, or FAILED: reason
  • After a reboot — install-final-pre return: none

A simple recipe is in aktualizr-callback_ and a sample script is in callback-handler.