summaryrefslogtreecommitdiff
path: root/futility/updater.c
diff options
context:
space:
mode:
Diffstat (limited to 'futility/updater.c')
-rw-r--r--futility/updater.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/futility/updater.c b/futility/updater.c
index 71a498e3..fa008542 100644
--- a/futility/updater.c
+++ b/futility/updater.c
@@ -1209,8 +1209,13 @@ enum updater_error_codes update_firmware(struct updater_config *cfg)
image_from->file_name, image_from->ro_version,
image_from->rw_version_a, image_from->rw_version_b);
- if (cfg->check_platform && check_compatible_platform(cfg))
+ try_apply_quirk(QUIRK_NO_CHECK_PLATFORM, cfg);
+ if (cfg->check_platform && check_compatible_platform(cfg)) {
+ ERROR("The firmware image is not compatible with your system. "
+ "If you really want to proceed, please run again with: "
+ "--quirks=no_check_platform\n");
return UPDATE_ERR_PLATFORM;
+ }
wp_enabled = is_write_protection_enabled(cfg);
STATUS("Write protection: %d (%s; HW=%d, SW=%d).\n", wp_enabled,