Skip to content

meta-lxatac-software: tacd{,-webinterface}: implement native RAUC update polling #242

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 9 commits into
base: scarthgap
Choose a base branch
from

Conversation

hnez
Copy link
Member

@hnez hnez commented Mar 31, 2025

This PR adds support for native RAUC update polling and automatic installations. See rauc/rauc#1672 for the pull request that adds this RAUC feature.

What is missing:

hnez added 9 commits April 3, 2025 07:12
Update the source revision to the v14.1 release and apply the polling
support pull request[1] on top of it.
The PR is applied as patches instead of an updated SRCREV because the
PR branch is very likely to be force-pushed again.

[1]: rauc/rauc#1672

Signed-off-by: Leonard Göhrs <[email protected]>
We very heavily bbappend the `rauc-conf.bb` recipe and will do so even
more in the next couple commits, to a point where it becomes easier to
just copy the recipe and edit it directly.

Signed-off-by: Leonard Göhrs <[email protected]>
This will allow the tacd to override it by placing one in /run/rauc and
the user to override either one by placing one in /etc/rauc.

Signed-off-by: Leonard Göhrs <[email protected]>
…rsion

This allows us to include the system version and hardware serial of the
TAC in question in HTTP requests performed by RAUC and use it for update
polling.

Signed-off-by: Leonard Göhrs <[email protected]>
These allow us to track issues when rolling out updates to TACs.

Signed-off-by: Leonard Göhrs <[email protected]>
…conf

The polling information (interval, URL, auto-install behaviour, etc.)
is only known to the tacd. To pass them to RAUC the tacd will read the
config in `/usr/lib/rauc/system.conf` replace the placeholder added
in this commit with a proper polling secion and place the result
in `/run/rauc/system.conf`. After a deamon restart RAUC can handle
update polling and installation on its own.

Signed-off-by: Leonard Göhrs <[email protected]>
…port

RAUC has recently learned to perform update polling on its own.
This means we can remove the update polling support from tacd and use the
one provided by RAUC instead.

Signed-off-by: Leonard Göhrs <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant