-
Notifications
You must be signed in to change notification settings - Fork 16
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
hnez
wants to merge
9
commits into
linux-automation:scarthgap
Choose a base branch
from
hnez:rauc-polling
base: scarthgap
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
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
8cec17d
to
5e8fa74
Compare
Open
1 task
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]>
…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]>
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
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.conf
to/usr/lib/rauc
.system-info
handler.