mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-15 06:33:49 +00:00
Add the fwupd version to the HSI result if the chassis is invalid
If the user uploads a report to the LVFS we don't currently get the fwupd version data in this case. And it makes the LVFS unhappy.
This commit is contained in:
parent
b686da54c8
commit
7fa569f87d
@ -6533,7 +6533,11 @@ fu_engine_attrs_calculate_hsi_for_chassis(FuEngine *self)
|
||||
break;
|
||||
}
|
||||
|
||||
return g_strdup_printf("HSI:INVALID:chassis[0x%02x]", val);
|
||||
return g_strdup_printf("HSI:INVALID:chassis[0x%02x] (v%d.%d.%d)",
|
||||
val,
|
||||
FWUPD_MAJOR_VERSION,
|
||||
FWUPD_MINOR_VERSION,
|
||||
FWUPD_MICRO_VERSION);
|
||||
}
|
||||
|
||||
static gboolean
|
||||
|
Loading…
Reference in New Issue
Block a user