Update firmware version #4900
-
Hi, We are trying to manage an update of firmware (neither kura, nor packages, but a different firmware) through kura. So far we've taken advantage of the DEPLOY-V2 request and DeploymentService for the installation, but we need to report back the version to the platform. As of this moment, what we have done is to update the kura properties (specifically Kind regads |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi, I don't think that there are many viable alternatives at the moment, restarting Kura is probably the best one in my opinion. |
Beta Was this translation helpful? Give feedback.
Hi,
I don't think that there are many viable alternatives at the moment, restarting Kura is probably the best one in my opinion.
Deploy v2 should support hooks that are executed at various stages of the deployment process, see service interface [1].
Implementing such a hook should allow to execute custom code at the end of the deployment process, so you could place there some logic that restarts the system service, for example you could disable and re-enable its declarative services component.
One downside of this is that In order for it to work you need to have the hook deployed before the upgrade.
In any case, since there are many Kura components that depend either directly or indirectl…