From 744e17f68fe3237fee3e2611714128c4e31dcdea Mon Sep 17 00:00:00 2001 From: Sergii Dmytruk Date: Wed, 23 Jun 2021 18:28:01 +0300 Subject: [PATCH] Load hwinfo on `fwupdtool firmware-dump` command Otherwise can't read firmware of devices whose detection depends on hardware information. Signed-off-by: Sergii Dmytruk --- src/fu-tool.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/fu-tool.c b/src/fu-tool.c index a10ee8be9..73dd53fc9 100644 --- a/src/fu-tool.c +++ b/src/fu-tool.c @@ -986,7 +986,10 @@ fu_util_firmware_dump (FuUtilPrivate *priv, gchar **values, GError **error) return FALSE; /* load engine */ - if (!fu_util_start_engine (priv, FU_ENGINE_LOAD_FLAG_COLDPLUG, error)) + if (!fu_util_start_engine (priv, + FU_ENGINE_LOAD_FLAG_COLDPLUG | + FU_ENGINE_LOAD_FLAG_HWINFO, + error)) return FALSE; /* get device */