From fb3ad0037f36e982c8fc04342615399794b65857 Mon Sep 17 00:00:00 2001
From: Colin Walters <walters@verbum.org>
Date: Mon, 27 Oct 2014 12:19:32 -0400
Subject: [PATCH] grub2: Fix bad substitution in review followup
This caused GRUB2+EFI installations to fail.
---
src/libostree/ostree-bootloader-grub2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libostree/ostree-bootloader-grub2.c b/src/libostree/ostree-bootloader-grub2.c
index 19d0492..a9fc9f7 100644
--- a/src/libostree/ostree-bootloader-grub2.c
+++ b/src/libostree/ostree-bootloader-grub2.c
@@ -320,7 +320,7 @@ rm -f ${grub_cfg}.new
/* NOTE: NON-ATOMIC REPLACEMENT; WE can't do anything else on FAT;
* see https://bugzilla.gnome.org/show_bug.cgi?id=724246
*/
- if (!ot_gfile_ensure_unlinked (new_config_path, cancellable, error))
+ if (!ot_gfile_ensure_unlinked (self->config_path_efi, cancellable, error))
goto out;
if (!gs_file_rename (new_config_path, self->config_path_efi,
cancellable, error))
--
1.8.3.1