Method

FwupdPluginHwidsadd_smbios_override

Declaration [src]

void
fu_hwids_add_smbios_override (
  FuHwids* self,
  const gchar* key,
  const gchar* value
)

Description [src]

Sets SMBIOS override values so you can emulate another system.

This function has no effect if called after fu_hwids_setup()

Available since:1.5.6

Parameters

key const gchar*
 

A key, e.g. FU_HWIDS_KEY_PRODUCT_SKU.

 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.
value const gchar*
 

A new value, e.g. ExampleModel

 The argument can be NULL.
 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.