purpleidea / mgmt

Next generation distributed, event-driven, parallel config management!
https://purpleidea.com/tags/mgmtconfig/
GNU General Public License v3.0
3.67k stars 315 forks source link

manage bios/firmware settings #689

Open purpleidea opened 2 years ago

purpleidea commented 2 years ago

We want some resources and functions for interacting with bios/firmware settings. Here's a short guide:

https://github.com/fwupd/fwupd/blob/main/docs/bios-settings.md

This uses the linux firmware attributes API: https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-class-firmware-attributes

@hughsie talked about this here: https://blogs.gnome.org/hughsie/2022/08/30/new-fwupd-1-8-4-release/

The first step is deciding whether to wrap this from pure golang or to wrap the fwupdmgr command. It has a --json flag so this is plausible.

Cheers

hughsie commented 2 years ago

If it helps it's a simple enough D-Bus API to wrap; it's a simple a{sv} dict of interesting things. If you have any questions, yell :)