fwupd/plugins/test
Richard Hughes af14073522 Allow applying all releases to get to a target version
Some hardware does not handle upgrading from version 1.2.2 to 1.2.4 and instead
needs to be upgraded from 1.2.2->1.2.3->1.2.4 so that on-device metadata can be
migrated correctly.

Add a new per-device flag `install-all-releases` which causes the daemon to not
skip directly to the newest release. This is designed to be set from a quirk
file.

This can obviously only be used for devices that can apply firmware "live" and
thus do not need a reboot or system shutdown to actually apply the firmware.
This also needs the cabinet archive to ship multiple versions of the firmware,
and for the metainfo.xml file to refer to multiple release objects.
2020-01-07 15:33:12 +00:00
..
fu-plugin-invalid.c trivial: Only dlopen the test plugin once 2019-12-01 20:59:19 +00:00
fu-plugin-test.c Allow applying all releases to get to a target version 2020-01-07 15:33:12 +00:00
meson.build trivial: Only dlopen the test plugin once 2019-12-01 20:59:19 +00:00
README.md trivial: Document the use of vendor-id in each plugin 2019-12-11 18:10:44 +00:00

Test Support

Introduction

This plugin is used when running the self tests in the fwupd project.

GUID Generation

The devices created by this plugin use hardcoded GUIDs that do not correspond to any kind of DeviceInstanceId values.

Vendor ID Security

The fake device is only for local testing and thus requires no vendor ID set.