Ilias will send patches against efivar for the OS-side support for SetVariable() at runtime.
Could people have a look and reply with feedbacks? That would help get it merged.
Tested-by / Acked-by / Reviewed-by...
In-memory cache; someone has to write it to file. Special variable exposed, containing all the (other) variables, to be copied to a file by the OS. A dd is sufficient; needs to go into efivar.
OpenBSD has an ioctl(), Linux has efivarfs.
Updating efivar with the functionality should get us the functionality "transparently" for distros.