mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-08 04:41:48 +00:00
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 <sergii.dmytruk@3mdeb.com>
This commit is contained in:
parent
6e3ad475a1
commit
744e17f68f
@ -986,7 +986,10 @@ fu_util_firmware_dump (FuUtilPrivate *priv, gchar **values, GError **error)
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
/* load engine */
|
/* 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;
|
return FALSE;
|
||||||
|
|
||||||
/* get device */
|
/* get device */
|
||||||
|
Loading…
Reference in New Issue
Block a user