our WP7607 application is based upon R13.1 (legato 19.02).
Apparently the probation counter is not only incremented after a crash, but, also when you disconnect/connect the supply from the hardware board.
This means that if you do this 4 times within a few minutes, that your system will be replaced by the previous version.
To avoid this behaviour in our production environment, the legato system is flashed in the modules, and afterwards we use a script to mark the system as ‘good’. (it calls ‘update --mark-good’.)
I wonder how a technician can do this after a system update in the field, using an USB stick.
- We tried to call le_updateCtrl_MarkGood(true) while handling the state LE_UPDATE_STATE_SUCCESS in our updater application.
Apparently, this had no effect.
- We tried to add LE_PROBATION_MS=60000 in the envVars section of our main application.
Apparently, the updateDaemon stills uses 1800000 (30 min) as probation period because our main application only starts several seconds after the updateDaemon service.
Does anybody have a solution to shorten the probation period, or mark the system as ‘good’, as a default?