mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-06 11:07:37 +00:00
dell: Show error messages when capsule updates are disabled
This commit is contained in:
parent
d1775bc026
commit
0e00ed9b13
@ -327,6 +327,9 @@ fu_plugin_dock_node (FuPlugin *plugin, GUsbDevice *device,
|
||||
if (fu_plugin_dell_capsule_supported (plugin)) {
|
||||
fu_device_add_flag (dev, FWUPD_DEVICE_FLAG_UPDATABLE);
|
||||
fu_device_add_flag (dev, FWUPD_DEVICE_FLAG_NEEDS_REBOOT);
|
||||
} else {
|
||||
fu_device_set_update_error (dev,
|
||||
"UEFI capsule updates turned off in BIOS setup");
|
||||
}
|
||||
}
|
||||
|
||||
@ -687,6 +690,9 @@ fu_plugin_dell_detect_tpm (FuPlugin *plugin, GError **error)
|
||||
if (fu_plugin_dell_capsule_supported (plugin)) {
|
||||
fu_device_add_flag (dev, FWUPD_DEVICE_FLAG_UPDATABLE);
|
||||
fu_device_add_flag (dev, FWUPD_DEVICE_FLAG_NEEDS_REBOOT);
|
||||
} else {
|
||||
fu_device_set_update_error (dev,
|
||||
"UEFI capsule updates turned off in BIOS setup");
|
||||
}
|
||||
fu_device_set_flashes_left (dev, out->flashes_left);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user