mirror of
https://github.com/raspberrypi/rpi-update.git
synced 2026-01-20 21:13:38 +08:00
Update readme for latest version of rpi-update
This commit is contained in:
23
README.md
23
README.md
@@ -8,19 +8,11 @@ To install the tool, run the following command:
|
||||
|
||||
sudo apt-get install rpi-update
|
||||
|
||||
## Installing on other OS
|
||||
|
||||
### Preparations
|
||||
|
||||
You need git installed to use this too. To install run:
|
||||
|
||||
sudo apt-get install git-core
|
||||
|
||||
### Installing
|
||||
|
||||
To install the tool, run the following command:
|
||||
|
||||
sudo wget https://raw.github.com/Hexxeh/rpi-update/master/rpi-update -O /usr/bin/rpi-update && sudo chmod +x /usr/bin/rpi-update
|
||||
sudo curl -L --output /usr/bin/rpi-update https://raw.github.com/Hexxeh/rpi-update/master/rpi-update && sudo chmod +x /usr/bin/rpi-update
|
||||
|
||||
## Updating
|
||||
|
||||
@@ -62,6 +54,19 @@ You can disable this behavior by:
|
||||
Will update everything **except** the `kernel.img` files and the kernel modules.
|
||||
Use with caution, some firmware updates might depend on a kernel update.
|
||||
|
||||
#### `SKIP_BACKUP`
|
||||
|
||||
sudo SKIP_BACKUP=1 rpi-update
|
||||
|
||||
Avoids making backup of /boot and /lib/modules on first run.
|
||||
|
||||
#### `SKIP_REPODELETE`
|
||||
|
||||
sudo SKIP_REPODELETE=1 rpi-update
|
||||
|
||||
By default the downloaded files (/root/.rpi-firmware) are deleted at end of update.
|
||||
Use this option to keep the files.
|
||||
|
||||
#### `ROOT_PATH` and `BOOT_PATH`
|
||||
|
||||
sudo ROOT_PATH=/media/root BOOT_PATH=/media/boot rpi-update
|
||||
|
||||
Reference in New Issue
Block a user