Update readme for latest version of rpi-update

This commit is contained in:
popcornmix
2014-04-05 15:47:16 +01:00
parent 41e23a0924
commit 1d6f6e7bcd

View File

@@ -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