monome / norns-image

81 stars 16 forks source link

Install/update raspberry firmware files using a specific version #76

Closed simonvanderveldt closed 5 years ago

simonvanderveldt commented 5 years ago

This installs a specific version of the firmware files. Apart from hosting these files ourselves and having multiple versions in the Package file in our repo this is the only way to guarantee a certain version of the firmware files and the accompanying tools is installed for a specific norns update.

I'm not super happy with this solution but I don't think there's an easier way to guarantee a certain version of the firmware files is installed.

Alternatively we could just always install the latest version, in theory newer versions should be backwards compatible, although no promises about that from raspberry.

@artfwo @tehn What do you think?

Fixes #74 Fixes #66

tehn commented 5 years ago

i think this is a reasonable solution for now!

artfwo commented 5 years ago

it's also possible to do apt install raspberrypi-bootloader=${VERSION} instead of downloading and dpkg'ing the deb.

simonvanderveldt commented 5 years ago

it's also possible to do apt install raspberrypi-bootloader=${VERSION} instead of downloading and dpkg'ing the deb.

From what I've tested that won't work since only one version (the latest) is listed in the Package file, see https://github.com/monome/norns-image/issues/74#issuecomment-482797823

simonvanderveldt commented 5 years ago

Didn't think about this so far, but this would mean one would need an Internet connection to be able to run this. Is that OK?

tehn commented 5 years ago

yes that is ok