]> git.ipfire.org Git - thirdparty/grub.git/commit
efi: Add grub_efi_set_variable_to_string()
authorOliver Steffen <osteffen@redhat.com>
Fri, 26 May 2023 11:35:48 +0000 (13:35 +0200)
committerDaniel Kiper <daniel.kiper@oracle.com>
Thu, 1 Jun 2023 09:45:00 +0000 (11:45 +0200)
commite83a88f6ea7f97d643387681fe044f45dcd732b9
tree3c6939c65884187d88db2389c9ff2c4bf7f08c03
parenta0b16564ee2e8eb7f597926bf60c4de2d696cd66
efi: Add grub_efi_set_variable_to_string()

Add a function that sets an EFI variable to a string value.
The string is converted from UTF-8 to UTF-16.

Signed-off-by: Oliver Steffen <osteffen@redhat.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/kern/efi/efi.c
include/grub/efi/efi.h