fwupd/plugins/flashrom
Richard Hughes b768e4d924 Do not fail to start the daemon if tpm2_pcrlist hangs
In some situations SELinux prevents fwupd from executing tpm2_pcrlist, but the
failure mode is that the process just hangs and never completes. This causes
systemd to time out the fwupd daemon startup and then errors to be shown in
GNOME Software.

To prevent this happening, add an optional timeout argument to
fu_common_spawn_sync() and cancel the subprocess if it takes longer than this
to complete.

See https://bugzilla.redhat.com/show_bug.cgi?id=1665701 for details.
2019-02-26 14:27:13 +00:00
..
example flashrom: Add a plugin for updating using the flashrom command line tool 2018-08-28 09:25:36 +01:00
flashrom.quirk flashrom: Add a plugin for updating using the flashrom command line tool 2018-08-28 09:25:36 +01:00
fu-plugin-flashrom.c Do not fail to start the daemon if tpm2_pcrlist hangs 2019-02-26 14:27:13 +00:00
meson.build Show a console warning if loading an out-of-tree plugin 2019-01-19 07:26:20 +00:00
README.md trivial: Add the missing protocol IDs to the plugin READMEs 2019-01-29 22:28:09 +00:00

Flashrom

Introduction

This plugin uses flashrom to update the system firmware.

Firmware Format

The daemon will decompress the cabinet archive and extract a firmware blob in an unspecified binary file format, which is typically the raw input for an EEPROM programmer.

This plugin supports the following protocol ID:

  • org.flashrom

GUID Generation

These device uses hardware ID values which are derived from SMBIOS. They should match the values provided by fwupdtool hwids or the ComputerHardwareIds.exe Windows utility.