Hexxeh / rpi-update

An easier way to update the firmware of your Raspberry Pi
MIT License
1.94k stars 232 forks source link

Allow user to skip updating VideoCore libraries #292

Closed satmandu closed 4 years ago

satmandu commented 4 years ago

Users who are running non-raspbian distributions, especially on other architectures like arm64, may already have videocore libraries and applications compiled for arm64. These will get overwritten unless updating the VideoCore libraries is skipped.

This implements a SKIP_VCLIBS option to allow that step to be skipped, which may be used alongside the SKIP_SDK option. This is also referred to in a suggestion for a SKIP_USERLAND option here: https://github.com/Hexxeh/rpi-update/pull/221#issuecomment-243559009

Signed-off-by: Satadru Pramanik satadru@umich.edu

popcornmix commented 4 years ago

Looks okay to me. Could you update README.md too?

satmandu commented 4 years ago

I assumed that the options not mentioned in the README.md were meant to be expert^expert options that were not documented on purpose. (WORK_PATH, SKIP_SDK, SKIP_DOWNLOAD, SKIP_WARNING, SKIP_CHECK_PARTITION, WANT_PI4, etc) appear to fall in that camp.

Happy to add an entry for SKIP_VCLIBS but it might make sense to have something put in for SKIP_SDK as well.

popcornmix commented 4 years ago

Thanks.