meta-lxatac-software: tacd{,-webinterface}: implement native RAUC update polling#242
Draft
hnez wants to merge 8 commits intolinux-automation:whinlatterfrom
Draft
meta-lxatac-software: tacd{,-webinterface}: implement native RAUC update polling#242hnez wants to merge 8 commits intolinux-automation:whinlatterfrom
hnez wants to merge 8 commits intolinux-automation:whinlatterfrom
Conversation
8cec17d to
5e8fa74
Compare
Open
1 task
4402cf2 to
db6ba01
Compare
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]>
…f.bb 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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
system.confto/usr/lib/rauc.system-infohandler.