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

debian: gracefully handle failed wget when downloading FPGA/firmware images (#454) #455

Merged
merged 2 commits into from
Feb 14, 2016

Conversation

rtucker
Copy link
Contributor

@rtucker rtucker commented Feb 13, 2016

Revises the postinst scripts to be more careful about leaving broken stuff in /usr/share/Nuand/bladeRF.

Also improve commonality between the scripts...

If wget fails, it's clobbering the FPGA/firmware storage
in /usr/share/Nuand/bladeRF, leading to terrible results.

Download to a temp file, then copy that if wget was
successful.

An MITM where a trusted proxy is frobulating HTTPS is
still possible; checking the md5sum again is probably
a great idea.
Don't overwrite the existing file if the new file fails
the md5sum test.
jynik added a commit that referenced this pull request Feb 14, 2016
debian: gracefully handle failed wget when downloading FPGA/firmware images (#454)
@jynik jynik merged commit 977b122 into Nuand:master Feb 14, 2016
@rtucker rtucker deleted the dev-issue454 branch February 8, 2018 20:39
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