Commit Graph

7 Commits

Author SHA1 Message Date
Mario Limonciello
506730879d trivial: fix a minor logic error in sb/3rd party commit 2022-08-25 20:25:17 -05:00
Mario Limonciello
22b477bff5 trivial: don't allow turning on secure boot if 3rd party CA is off
Turning on UEFI secure boot on Lenovo systems with 3rd party CA
turned off will cause a boot loop.
2022-08-25 16:28:38 -05:00
Mario Limonciello
afd661963b trivial: move the FwupdBiosSetting read only map into a hashtable
This is probably going to grow in the future, so make it more efficient.
2022-08-25 14:05:24 -05:00
Mario Limonciello
df07318f36 Move FwupdBiosSetting description database into libfwupdplugin
This needs to be handled by the daemon so that all GUI clients will
be able to load translations as well.

The translations will be distributed with fwupd, and any GUI client
should look up the translations.
2022-08-25 14:05:24 -05:00
Mario Limonciello
04c2186edc Add support for loading default BIOS settings policy
A user can place a JSON file in /etc/fwupd/bios-settings.d/ with
the default desired policy for the machine.

fwupd will load this policy on startup to ensure BIOS settings
are set as desired by the system administrator.
2022-08-24 12:59:42 -05:00
Mario Limonciello
2f9cb74c59 trivial: don't assume we know about pending_reboot
The `pending_reboot` variable is tracked by the kernel, make sure
that it is updated from the kernel when BIOS settings are changed.
2022-08-24 12:59:42 -05:00
Mario Limonciello
b7b0ce533d trivial: Unify ambiguity between bios-attrs and bios-settings
These are currently used interchangeably since there was indecisiveness
which to use as the feature was being developed.

As outward facing it will be named with "settings", change all uses
in the code to match this.
2022-08-24 07:20:01 -05:00