mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-28 03:07:23 +00:00
Fix compile error against fwupdate git due to dropped functions.
Closes #37
This commit is contained in:
parent
28afc0baf5
commit
6fade1ffea
@ -218,6 +218,7 @@ fu_provider_uefi_update (FuProvider *provider,
|
||||
gboolean ret = TRUE;
|
||||
guint64 hardware_instance = 0; /* FIXME */
|
||||
int fd;
|
||||
int call;
|
||||
const gchar *fn = "/boot/fwupd-efiupdate";
|
||||
|
||||
/* save the data to a temp file */
|
||||
@ -254,13 +255,14 @@ fu_provider_uefi_update (FuProvider *provider,
|
||||
/* perform the update */
|
||||
g_debug ("Performing UEFI capsule update");
|
||||
fu_provider_set_status (provider, FWUPD_STATUS_SCHEDULING);
|
||||
if (fwup_set_up_update (re, hardware_instance, fd) < 0) {
|
||||
call = fwup_set_up_update (re, hardware_instance, fd);
|
||||
if (call < 0) {
|
||||
ret = FALSE;
|
||||
g_set_error (error,
|
||||
FWUPD_ERROR,
|
||||
FWUPD_ERROR_NOT_SUPPORTED,
|
||||
"UEFI firmware update failed: %s",
|
||||
fwup_strerror (fwup_error));
|
||||
call);
|
||||
goto out;
|
||||
}
|
||||
out:
|
||||
|
Loading…
Reference in New Issue
Block a user