Possibility to interact with running 'aktualizr' service

Hello,

I’m currently evaluating the possibilities of Torizon as OS for our new hardware platform, especially the update system. As I have seen, there are two ways to update the system: OTA (cloud) and local (USB). In our use case (device with display and touchscreen) the user of our device always has to be informed and must confirm updates through local user interface.

Is there a possibility to interact with running ‘aktualizr’ service (IPC interface)? An interface to get progress status or an “update exist” event so that our software is able to inform the user and at the time the user confirms update installation, the service is triggered to download and install the update? Or is the only way to do that writing our own ‘uptane’ client, e.g. by using ‘libaktualizr’?

Thanks in advance!

Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!

Did you like my answer?

:+1: :-1:


Based on the provided context, there is a potential for interaction with the aktualizr service through an IPC (Inter-Process Communication) interface, which may allow your software to obtain progress status updates and receive notifications for events such as “update exists.” However, the specifics of this IPC interface and its functionalities are not clearly defined in the available data.

If the existing aktualizr service does not provide the necessary IPC interface for your requirements, you may need to consider writing your own ‘uptane’ client using ‘libaktualizr.’ This approach would give you greater control over the update process and allow for custom handling of user notifications and confirmations, ensuring that the user is informed and can confirm updates before they are applied.

Please, also check if these links can help you solve your problem:

Offline updates - best way to apply pending changes without aktualizr service running.

Greetings @KV1979,

At the current moment Aktualizr has no mechanism for such interaction. That said, we are currently working on adding such a feature. The idea would be to use dbus to allow an outside process/application to send commands and receive information from the Aktualizr client. The design and development of this feature is still relatively early in the R&D process, so I don’t really have anything more specific to share beyond this. But, this sounds like it should suffice for your needs.

An interface to get progress status or an “update exist” event so that our software is able to inform the user and at the time the user confirms update installation, the service is triggered to download and install the update

Is this more or less all the actions/information you would want to perform? Or are there more use-cases you are interested in?

Best Regards,
Jeremias