Remove rpi-update (fix #302)

According to the official RPI documentation rpi-update isn't a general
purpose tool.

https://raspberrypi.org/documentation/linux/kernel/updating.md
This commit is contained in:
Roey Darwish Dror
2020-01-28 16:11:25 +02:00
parent 7aff66bc53
commit d2f038f6a6
2 changed files with 0 additions and 15 deletions

View File

@@ -441,15 +441,6 @@ pub fn run_snap(sudo: Option<&PathBuf>, run_type: RunType) -> Result<()> {
run_type.execute(sudo).arg(snap).arg("refresh").check_run()
}
pub fn run_rpi_update(sudo: Option<&PathBuf>, run_type: RunType) -> Result<()> {
let sudo = require_option(sudo)?;
let rpi_update = require("rpi-update")?;
print_separator("rpi-update");
run_type.execute(sudo).arg(rpi_update).check_run()
}
pub fn run_pihole_update(sudo: Option<&PathBuf>, run_type: RunType) -> Result<()> {
let sudo = require_option(sudo)?;
let pihole = require("pihole")?;