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

imghelper: remove full path from .vmlinuz.hmac #336

Merged
merged 2 commits into from
Jul 26, 2024

Conversation

jpculp
Copy link
Member

@jpculp jpculp commented Jul 26, 2024

Description of changes:

When hmac generation moved to imghelper, the vmlinuz variable went from the basename to the full-path. This makes sure that the full-path doesn't make it into the final artifact.

Also adds a missing ShellCheck exception.

Testing done:

Built and smoke tested Bottlerocket.

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

When hmac generation moved to `imghelper`, the `vmlinuz` variable went
from the basename to the full-path. This makes sure that the full-path
doesn't make it into the final artifact.

Signed-off-by: Patrick J.P. Culp <jpculp@amazon.com>
Signed-off-by: Patrick J.P. Culp <jpculp@amazon.com>
@jpculp jpculp requested review from bcressey and cbgbt July 26, 2024 01:17
@jpculp jpculp merged commit e2a9fa6 into bottlerocket-os:develop Jul 26, 2024
1 check passed
@jpculp jpculp deleted the hmac-bugfix branch July 26, 2024 17:57
@gthao313 gthao313 mentioned this pull request Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants