mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-15 16:19:52 +00:00
amt: Put the AMT device as a child under the system UEFI firmware
This commit is contained in:
parent
6e0663ae6c
commit
cc664d7d36
@ -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) {
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user