-
Notifications
You must be signed in to change notification settings - Fork 2k
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
sys/suit: avoid installing payload twice #17984
Conversation
For context this is called twice because in the manifest there are actually two
Which in turn results in multiple calls to |
e2acf2f
to
127ffd3
Compare
I removed setting the |
Note that my main motivation for this is to know when from a user perspective I can consider the payload "ready to use", and I would have thought that once |
127ffd3
to
e66ad95
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ack, thanks for the fix
Thanks! |
Contribution description
For some reason the generated manifest triggers the payload to be installed twice:
Why I'm not sure is whether this is an issue in the manifest generation or if it's something to handle in code. Pinging @bergzand on this.
Testing procedure
Run
examples/suit_update
payload is installed once: