-
Notifications
You must be signed in to change notification settings - Fork 58
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
Allow setting binary measured boot log path on RPM binaries #554
Conversation
Codecov Report
Additional details and impacted files
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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.
I am a bit concern that this rpm/ can confuse later. It is to generate RPMs for the testing farm, and somehow unrelated with the project.
IMHO all this RPM code should be living in the test side and not in the project side, as in any case the testing farm is not really testing the released fedora nor centos package.
If this is not possible, at least we should add a README under rpm/ to clarify that "If you are looking for the reference spec file, do not look here"
I agree that it may be confusing at the moment, but the goal in future is to maintain the specfile here and automate downstream maintenance as well, so it will become the "reference specfile". For now, the rpms will be used to avoid recompiling the agent for testing both in this repo, as well as in I'll add a commit to explain this in README. |
0ac932a
to
12b97d6
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.
Seems that the Centos package fails for some GPG key. Not sure why, but the changes LGTM
Allow setting the binary measured boot log path via TPM_BINARY_MEASUREMENTS environment variable when build with the 'testing' feature. When building the RPMs, enable the testing feature. Signed-off-by: Anderson Toshiyuki Sasaki <[email protected]>
I added a small change to make the RPMS more usable: packit was picking the version from the tag (v0.2.0), which made RPM to not consider it an update because I'll drop the temporary commit and push the changes. |
Allow setting the path to the binary bios measurements log file via the
TPM_BINARY_MEASUREMENTS
environment variable when build with thetesting
feature enabled.The binaries in the RPM are build with the
testing
feature enabled.Fixes #490