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:
Richard Hughes 2023-02-20 15:22:48 +00:00 committed by Mario Limonciello
parent ed9bec4022
commit 6df2e35458

View File

@ -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),