Oh wow, looking at that script it actually downloads and runs unrar-nonfree. That’s not cool. I only run FLOSS software on my laptop. Was not expecting a script from Librem to download and execute non-free software. There should be clear warnings on that!
OK, I think I managed to work around it. I opened that mega.nz-URL in my browser and downloaded the file. As I don’t have unrar-nonfree I uploaded it to https://extract.me/ and downloaded the file I needed (188.8.131.522_CON_LP_C_NPDM_PRD_RGN.bin in my case). I then manually checked the sha256 of the file. I then looked at what was the goal of the entire function, which was
yes, the MEGA download and unrar-nofree are problematic. I’m working on a new coreboot updater script which will allow building from source without pulling components from external (non-purism) sources, as well as flash a precompiled image (which is obv much faster)
Yeah, that’d be cool. I’ve flashed libreboot a few times, and didn’t have to build anything then. Just make sure to get the right mac-address in the rom, and use cbfs tool to get the boot options right. I guess that’s what the serial extraction in the current script is about? So yeah, base roms that have to be filled in with serial and perhaps other data and then flashed sounds like a great thing for a script to handle.