diff options
-rw-r--r-- | futility/updater.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/futility/updater.c b/futility/updater.c index 10efd632..a8dfb8d8 100644 --- a/futility/updater.c +++ b/futility/updater.c @@ -1173,9 +1173,12 @@ enum updater_error_codes update_firmware(struct updater_config *cfg) image_to->file_name, image_to->ro_version, image_to->rw_version_a, image_to->rw_version_b); - if (try_apply_quirk(QUIRK_MIN_PLATFORM_VERSION, cfg)) - return UPDATE_ERR_PLATFORM; - + if (try_apply_quirk(QUIRK_MIN_PLATFORM_VERSION, cfg)) { + if (!cfg->force_update) { + ERROR("Add --force to waive checking the version.\n"); + return UPDATE_ERR_PLATFORM; + } + } if (!image_from->data) { int ret; INFO("Loading current system firmware...\n"); |