mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-14 16:11:22 +00:00
trivial: Move the date_eol attribute to the component node
The LVFS has been changed to do the same, and no real vendors have added EOL information yet.
This commit is contained in:
parent
73377b2a53
commit
ad0b274cec
@ -762,7 +762,7 @@ fu_engine_set_release_from_appstream(FuEngine *self,
|
||||
fwupd_release_set_update_image(rel, tmp);
|
||||
}
|
||||
}
|
||||
if (xb_node_get_attr(release, "date_eol") != NULL)
|
||||
if (xb_node_get_attr(component, "date_eol") != NULL)
|
||||
fu_device_add_flag(dev, FWUPD_DEVICE_FLAG_END_OF_LIFE);
|
||||
|
||||
/* sort the locations by scheme */
|
||||
|
Loading…
Reference in New Issue
Block a user