From d577d76528b2ad61dc1d215f344982e0dd7e304e Mon Sep 17 00:00:00 2001 From: Kyle Copperfield Date: Sun, 1 Dec 2019 06:40:50 +0000 Subject: [PATCH] Move rpi-update under config.should_run(Step::Firmware) (#270) Fixes #269. --- src/main.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main.rs b/src/main.rs index 4fb1bcf2..472f1e21 100644 --- a/src/main.rs +++ b/src/main.rs @@ -543,12 +543,6 @@ fn run() -> Result<(), Error> { || linux::run_pihole_update(sudo.as_ref(), run_type), config.no_retry(), )?; - execute( - &mut report, - "rpi-update", - || linux::run_rpi_update(sudo.as_ref(), run_type), - config.no_retry(), - )?; } if config.should_run(Step::Firmware) { @@ -558,6 +552,12 @@ fn run() -> Result<(), Error> { || linux::run_fwupdmgr(run_type), config.no_retry(), )?; + execute( + &mut report, + "rpi-update", + || linux::run_rpi_update(sudo.as_ref(), run_type), + config.no_retry(), + )?; } if config.should_run(Step::Restarts) {