From ad0b274cec13dd952e67ccd53629dfb9d0197343 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Fri, 11 Feb 2022 08:35:23 +0000 Subject: [PATCH] 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. --- src/fu-engine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fu-engine.c b/src/fu-engine.c index 617ad6aad..eb533a08d 100644 --- a/src/fu-engine.c +++ b/src/fu-engine.c @@ -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 */