rpi-update: Remove deprecated BRANCH variable

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
This commit is contained in:
Dom Cobley
2024-04-24 11:47:51 +01:00
parent 20942706ca
commit e869486872
2 changed files with 5 additions and 18 deletions

View File

@@ -152,15 +152,6 @@ By default, FW_SUBDIR is initialised to the value of `os_prefix` in effect when
the device was booted, so as to overwrite the "running" firmware. To explicitly
install with no subdirectory (to install into /boot), use `FW_SUBDIR=/`.
#### `BRANCH`
By default, clones the firmware files from the master branch, else uses the files
from the specified branch, eg:
sudo BRANCH=next rpi-update
will use the 'next' branch.
#### `PRUNE_MODULES`
Allows you to delete unused module directories when doing an update. Set it equal to a non-zero value and it will remove all modules except the latest installed: