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

Fix --fw-version parameter not being used #503

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

Conversation

jacobeva
Copy link
Contributor

Title basically.

Not sure why this if statement got removed? I assume it was accidental.

Regardless, without this change running something like:
rnodeconf -U --fw-version 1.71 --nocheck -u /dev/port
would fail, with the complaint that the firmware version was not set in the
command line arguments. Obviously this makes no sense and doesn't seem to be
intended.

@markqvist
Copy link
Owner

markqvist commented May 17, 2024

There was some issues with using custom firmware versions at some point, and I think it got disabled there, or it was never properly finished. Can you confirm that it works correctly with custom versions now, for a repo that hosts older versions?

Ah, wait, was confused there for a second. This was also used for specifying offline install versions, when rnodeconf could not reach any online repositories, and you'd need to specify manually what version to use. It would then use that version from disk, if present.

I'll have to look at this in detail to see what is actually going on.

@jacobeva
Copy link
Contributor Author

Sorry, I don't really understand what you mean in the bit you've crossed out.

Ah, wait, was confused there for a second. This was also used for specifying offline install versions, when rnodeconf could not reach any online repositories, and you'd need to specify manually what version to use. It would then use that version from disk, if present.

Yes, this is exactly what I was doing, I was using rnodeconf with a zip file (with a generated hash) manually copied from the RNode_Firmware in order to test flashing my own firmware with the autoinstaller. I had to disable the online repo option to do this. Basically, the change you made would stop it checking the firmware version before throwing the error that it wasn't set (and it couldn't reach the repo online). I hope that makes sense!

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.

None yet

2 participants