…needed Exit code which will be 0 if up to date, and 2 if a firmware update would have occurred. Also the new commits will be printed to stdout
dt-blob.bin is used to configure a platform's pin settings and clock settings and must not be changed when we do an rpi-update. This is a function of the platform rather than a function of the operating system and therefore shouldn't be removed
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.
This removes the requirement for git. We never make use of partial git updates, and it is quicker to download the tarball with curl than use git. Also piping the curl output into tar is quicker than downloading then un-tarring. Remove the verbose options from the copies (they don't fail, slow down the copies and swamp any more useful output messages). By default delete /root/.rpi_firmware (as it's easy to recreate). Use SKIP_REPODELETE=1 if you want to keep it. Add option SKIP_BACKUP=1 if you don't want a backup of old firmware and modules.