redfish: Also conflict with the bios plugin when required

This commit is contained in:
Richard Hughes 2021-08-06 14:32:05 +01:00
parent d4a4362621
commit ad24f1623d

View File

@ -40,8 +40,10 @@ fu_plugin_coldplug (FuPlugin *plugin, GError **error)
}
/* this is no longer relevant */
if (devices->len > 0)
if (devices->len > 0) {
fu_plugin_add_rule(plugin, FU_PLUGIN_RULE_CONFLICTS, "bios");
fu_plugin_add_rule(plugin, FU_PLUGIN_RULE_CONFLICTS, "uefi_capsule");
}
return TRUE;
}