BRANCH currently applies to both firmware and bootloader but typically they won't have
branches of the same name (e.g there is no stable branch of bootloader).
So remove the option and encourage using parameters for the two branches
* Support FW_SUBDIR a.k.a. os_prefix
The FW_SUBDIR environment variable is equivalent to the os_prefix config
setting, except that it is required to be the name of a directory. By
default, rpi-update will initialise FW_SUBDIR from the os_prefix setting
used to boot the device. A different subdirectory can be updated by
specifying a value for FW_SUBDIR in the environment, e.g.
sudo FW_SUBDIR=safe rpi-update
To specify explicitly that no subdirectory is to be used, i.e. to force
installation into /boot, use FW_SUBDIR=/ .
* Allow user to skip updating VideoCore libraries
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>
* Support for GitHub API tokens added (fixesHexxeh/rpi-update#151)
Use it like this:
$ sudo GITHUB_API_TOKEN=“<my-api-token”> rpi-update
* Added details about the GITHUB_API_TOKEN option to README
* Corrected headline level
Upon installation of the tool, the command executed writes rpi-update to /usr/bin detailing a 301 error, indicating the source of the update has changed to https://raw.githubusercontent.com/Hexxeh/rpi-update/master/rpi-update. This address change has been reflected in the proposed file change.