Running swupdate tagged 2024.05.2.
I have been experimenting with using the general purpose http server with the provided example script. With this configuration I launch swupdate from the command line as follows...
The file is found and served to the swupdate client. SWupdate installs the file and reports the following...
[TRACE] : SWUPDATE running : [network_initializer] : Valid image found: copying to FLASH
[INFO ] : SWUPDATE running : Installation in progress
[TRACE] : SWUPDATE running : [install_single_image] : Found installer for stream nova-acs-sm2s-imx8mp-toro.ext4.gz raw
[INFO ] : SWUPDATE successful ! SWUPDATE successful !
[TRACE] : SWUPDATE running : [network_initializer] : Main thread sleep again !
[INFO ] : No SWUPDATE running : Waiting for requests...
[DEBUG] : SWUPDATE running : [suricatta_wait] : Sleeping for 30 seconds.
[TRACE] : SWUPDATE running : [start_suricatta] : Suricatta awakened.
[TRACE] : SWUPDATE running : [do_get_state] : Read state=1 from persistent storage.
[WARN ] : SWUPDATE running : [server_has_pending_action] : An already installed update is pending testing.
[DEBUG] : SWUPDATE running : [start_suricatta] : No pending action to process.
[DEBUG] : SWUPDATE running : [suricatta_wait] : Sleeping for 30 seconds.
At this point swupdate is in a wake/sleep loop and does nothing. With all the other modes I have tested (mongoose, file server, etc), the postupdate command script is run (which in my case is to issue a reboot). Why is the post update command not being run?
Any help would be appreciated.
Regards
Rich