Closed bluecmd closed 6 years ago
If you're looking at hacking with Go from the shell, you can also look into:
Messing more about this and discussing this a bit with @stapelberg I think it would be easier just to allow uploading binaries and replacing the current running ones easily.
Right now I've begun to use cat bbin/bb | ssh 10.0.10.20 "cat > bb; chmod 755 bb; mv bb /bbin/bb; reboot"
which works pretty well. For the cases where we do not have Ethernet available, I'm thinking that maybe we can use IP over Serial? Maybe?
I'll close this as infeasible. It goes against the signed boot stuff as well and would diverge a lot, it was a cool idea but will probably not work out.
Right now we compile everything and require a reflash every time something changes.
Given that u-root has a compilation mode for on the fly builds, investigate if it's possible to use that to be able to modify the source on the device to shorten the development iterations.