mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-11 22:11:34 +00:00
trivial: Clear any device checksums after the online update
This commit is contained in:
parent
b7bf715435
commit
f556d371da
@ -863,6 +863,7 @@ fu_plugin_runner_update (FuPlugin *plugin,
|
|||||||
g_autoptr(FuPending) pending = NULL;
|
g_autoptr(FuPending) pending = NULL;
|
||||||
g_autoptr(FwupdResult) res_pending = NULL;
|
g_autoptr(FwupdResult) res_pending = NULL;
|
||||||
GError *error_update = NULL;
|
GError *error_update = NULL;
|
||||||
|
GPtrArray *checksums;
|
||||||
|
|
||||||
/* not enabled */
|
/* not enabled */
|
||||||
if (!priv->enabled)
|
if (!priv->enabled)
|
||||||
@ -907,6 +908,10 @@ fu_plugin_runner_update (FuPlugin *plugin,
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* no longer valid */
|
||||||
|
checksums = fu_device_get_checksums (device);
|
||||||
|
g_ptr_array_set_size (checksums, 0);
|
||||||
|
|
||||||
/* cleanup */
|
/* cleanup */
|
||||||
if (res_pending != NULL) {
|
if (res_pending != NULL) {
|
||||||
const gchar *tmp;
|
const gchar *tmp;
|
||||||
|
Loading…
Reference in New Issue
Block a user