Skip to content

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

Draft
hnez wants to merge 8 commits intolinux-automation:whinlatterfrom
hnez:rauc-polling
Draft

meta-lxatac-software: tacd{,-webinterface}: implement native RAUC update polling#242
hnez wants to merge 8 commits intolinux-automation:whinlatterfrom
hnez:rauc-polling

Conversation

@hnez
Copy link
Copy Markdown
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 hnez force-pushed the rauc-polling branch 2 times, most recently from 8cec17d to 5e8fa74 Compare April 2, 2025 11:49
@hnez hnez changed the base branch from scarthgap to whinlatter February 20, 2026 12:57
@hnez hnez force-pushed the rauc-polling branch 4 times, most recently from 4402cf2 to db6ba01 Compare February 23, 2026 11:28
hnez added 8 commits April 9, 2026 13:29
Apply the polling support pull request[1].
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