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

parse checksum even when no EOL is found (#285) #376

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

Conversation

nickryand
Copy link

I am pulling over a fix from the main branch to v2. I have run into an issue using packer trying to build a NixOS qemu image. The published NixOS sha files don't end in a newline, they end in an EOF.

In case a checksum file does not end with '\n', the checksum can still
be valid. When hitting EOF, verify that the read line is non-empty, and
continue with parsing.
@nickryand
Copy link
Author

@nywilken @claire-labry think this PR can be merged in? The fix already exists in V1.

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.

2 participants