mirror of
https://git.proxmox.com/git/fwupd
synced 2026-03-28 14:58:22 +00:00
Saving the quirks in the GResource section worked well, but it made the build system very complicated and also meant the .data section was duplicated in both `fwupd` and `fwupdtool` -- negating a lot of the hard-fought savings. Simplify this feature so that we just `cat` all the quirk files together, then gzip them into a single file. This means that at startup fwupd only needs to check the mtime of one file, and weirdly it's actually faster to load a smaller compressed file from disk that it is to load multiple uncompressed files. |
||
|---|---|---|
| .. | ||
| fu-plugin-invalid.c | ||
| fu-plugin-test-ble.c | ||
| fu-plugin-test.c | ||
| fu-test-ble-device.c | ||
| fu-test-ble-device.h | ||
| meson.build | ||
| README.md | ||
| test-ble.quirk | ||
Test
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.
In other cases devices use the standard BLE DeviceInstanceId values, e.g.
USB\VID_2DC8&PID_AB11
Vendor ID Security
The fake device is only for local testing and thus requires no vendor ID set.
External Interface Access
This plugin requires no extra access.