Skip to content
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

bundle.bbclass: extend do_bundle[file-checksums] #353

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

grembeter
Copy link

Rerun do_bundle task when RAUC_CERT_FILE or RAUC_KEY_FILE files have been changed on the disk.

Copy link
Member

@ejoerns ejoerns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks really useful. Actually, both files are not part of SRC_URI and thus their checksum would not be recorded by default.

However, since (despite the name does not suggest it) both could also be PKCS#11 URIs, I guess using False for the boolean part is required here.

@ejoerns ejoerns added the fix label Nov 15, 2024
Rerun the do_bundle task when the contents of RAUC_CERT_FILE or
RAUC_KEY_FILE have changed. Since both can also be PKCS#11 URIs, set
the boolean flag to False.

Signed-off-by: Grygorii Tertychnyi <[email protected]>
@grembeter
Copy link
Author

Unfortunately, I cannot test it with PKCS#11 URIs.

@ejoerns
Copy link
Member

ejoerns commented Nov 16, 2024

Unfortunately, I cannot test it with PKCS#11 URIs.

@grembeter That shouldn't matter. The point is that the URIs are not valid paths in the file system and thus cannot be tracked. And using False allows to have non-existing paths.

Thanks for updating the PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants