amt: Put the AMT device as a child under the system UEFI firmware

This commit is contained in:
Richard Hughes 2018-05-01 20:39:10 +01:00
parent 6e0663ae6c
commit cc664d7d36
2 changed files with 2 additions and 0 deletions

View File

@ -435,6 +435,7 @@ fu_plugin_amt_create_device (GError **error)
fu_device_set_vendor (dev, "Intel Corporation");
fu_device_add_flag (dev, FWUPD_DEVICE_FLAG_INTERNAL);
fu_device_add_icon (dev, "computer");
fu_device_add_parent_guid (dev, "main-system-firmware");
if (!amt_get_provisioning_state (ctx, &state, error))
return NULL;
switch (state) {

View File

@ -589,6 +589,7 @@ fu_plugin_uefi_coldplug_resource (FuPlugin *plugin, fwup_resource *re)
} else {
/* this is probably system firmware */
fu_device_add_icon (dev, "computer");
fu_device_add_guid (dev, "main-system-firmware");
}
fu_device_set_id (dev, id);
fu_device_add_guid (dev, guid);