purpleidea / mgmt

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

manage bios/firmware settings #689

Open purpleidea opened 1 year ago

purpleidea commented 1 year 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 1 year 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 :)