Mario Limonciello
2705179117
Convert HSI into a meson tristate-feature
...
This allows us to disable it automatically on architectures that
aren't supported and OSes that aren't supported.
Link: https://bugs.launchpad.net/ubuntu/+source/fwupd/+bug/1987067
2022-08-22 06:03:38 -05:00
Richard Hughes
a61bb37881
Build the quirk files into the daemon as a GResource
...
Interestingly, this increases the `fwupd` binary size by ~30kb but
reduces the installed size of /usr/share/fwupd/quirks.d by ~330kb.
2022-06-30 18:52:24 +01:00
Gaël PORTAY
299b42fe96
trivial: Make meson.build indentation consistent
2022-06-21 03:27:38 -04:00
Mario Limonciello
661990ed98
Convert build system to use meson tristate features
...
tristate features will automatically disable if dependencies marked
as required are missing.
Packagers can manually override using `auto_features`.
Link: https://mesonbuild.com/Build-options.html#features
2022-02-28 08:34:48 -06:00
Richard Hughes
dc1d5de057
Make the HSI tests optional for embedded targets
...
70% of the plugins installed on OpenBMC are not being used...
2021-11-29 09:30:57 +00:00
Richard Hughes
3e2e0aa616
trivial: Fix build error with old meson versions
...
On 0.58.1:
ERROR: Bad source of type 'SharedModule' in target 'tpm-self-test'.
2021-11-19 06:54:46 +00:00
Richard Hughes
7e386f8791
trivial: Do not install the fwupdtpmevlog debugging cli to save 50Kb
2021-11-15 15:01:22 +00:00
Richard Hughes
c1f7ac47e8
tpm: Actually add the v1.2 device
...
Also, add end-to-end tests for this so it can never happen again.
Fixes https://github.com/fwupd/fwupd/issues/3972
2021-11-10 14:08:08 +00:00
Richard Hughes
510a9bfe0c
Merge tpm-eventlog into the tpm plugin
...
This is so much less complicated.
2021-11-02 13:47:25 +00:00
Richard Hughes
e29c74180c
Move the TPM handling into the TPM place
...
The fact that it currently lives in uefi-capsule is a historical
accident, and it doesn't really belong to tpm-eventlog either.
Fixes some of https://github.com/fwupd/fwupd/issues/3901
2021-11-01 14:51:27 +00:00
Richard Hughes
a22c13c637
Move the plugin build logic to the plugins themselves
2021-02-18 14:46:20 +00:00
Richard Hughes
fbb677bee2
Add a new plugin that exposes the system TPM device firmware version
...
This plugin does not yet allow the device to be upgraded, and is provided for
information only.
2019-12-05 21:05:17 +00:00