efivars: add helper that reads an fs path from an efi var

This commit is contained in:
Lennart Poettering
2024-09-15 19:34:19 +02:00
parent bfcf48b842
commit c8d60ae79d
5 changed files with 52 additions and 22 deletions
-4
View File
@@ -66,9 +66,5 @@ static inline bool efi_has_tpm2(void) {
#endif
static inline char *efi_tilt_backslashes(char *s) {
return string_replace_char(s, '\\', '/');
}
sd_id128_t efi_guid_to_id128(const void *guid);
void efi_id128_to_guid(sd_id128_t id, void *ret_guid);