From e1e14c63246b911f4575906b2c791d5978569500 Mon Sep 17 00:00:00 2001
From: christian <christian.steinhaus@rwth-aachen.de>
Date: Wed, 8 Oct 2014 17:12:37 +0200
Subject: [PATCH] Copy signed grubx64.efi to support secureboot

Shim verifies the signature of grubx64.efi if secureboot is enabled so
it won't boot ours. Hence, we need to copy ubuntu signed .efi.
---
 Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile b/Makefile
index f347710..c3efc7c 100644
--- a/Makefile
+++ b/Makefile
@@ -248,6 +248,7 @@ image_binary_files $(IMAGE_DIR)/.lipbinaries: image_git_pull $(IMAGE_BINARIES)
 		 "$(IMAGE_DIR)/"
 	$(RSYNC) "$(SECONDARY_ARCH_DIR)$(ISO_CONTENT)/.disk/casper-uuid-generic" "$(IMAGE_DIR)/.disk/casper-uuid-generic-$(SECONDARY_ARCH)"
 	$(RSYNC) "$(PRIMARY_ARCH_DIR)$(ISO_CONTENT)/EFI/BOOT/BOOTx64.EFI" "$(IMAGE_DIR)/efi/boot/"
+	$(RSYNC) "$(PRIMARY_ARCH_DIR)$(ISO_CONTENT)/EFI/BOOT/grubx64.efi" "$(IMAGE_DIR)/efi/boot/"
 	mkdir -p "$(IMAGE_DIR)/casper"
 	$(RSYNC) --progress "$(COMMON_DIR)/lip-common.squashfs" \
 		 "$(COMMON_DIR)/lip-$(PRIMARY_ARCH).squashfs" \
-- 
GitLab