mirror of
https://git.proxmox.com/git/fwupd
synced 2025-04-28 16:44:23 +00:00
dfu: Allow DFU devices to declare the payload in the XML metadata
The DFU protocol can be used to transfer both signed and unsigned content, and it's up to the device to do the right thing.
This commit is contained in:
parent
ed9bec4022
commit
6df2e35458
@ -1689,6 +1689,7 @@ fu_dfu_device_init(FuDfuDevice *self)
|
||||
fu_device_add_flag(FU_DEVICE(self), FWUPD_DEVICE_FLAG_UPDATABLE);
|
||||
fu_device_add_flag(FU_DEVICE(self), FWUPD_DEVICE_FLAG_ADD_COUNTERPART_GUIDS);
|
||||
fu_device_add_internal_flag(FU_DEVICE(self), FU_DEVICE_INTERNAL_FLAG_REPLUG_MATCH_GUID);
|
||||
fu_device_add_internal_flag(FU_DEVICE(self), FU_DEVICE_INTERNAL_FLAG_MD_SET_SIGNED);
|
||||
fu_device_set_remove_delay(FU_DEVICE(self), FU_DEVICE_REMOVE_DELAY_RE_ENUMERATE);
|
||||
|
||||
fu_device_register_private_flag(FU_DEVICE(self),
|
||||
|
Loading…
Reference in New Issue
Block a user