From 1948a70442cc8fe0ccd1ca9020501f64be7ddca0 Mon Sep 17 00:00:00 2001
From: Ruben Rodriguez <ruben@trisquel.info>
Date: Fri, 25 Nov 2022 13:43:04 -0500
Subject: [PATCH] grub-installer: fix grub dependencies for EFI, disable
 shim-signed usage

---
 helpers/make-grub-installer | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/helpers/make-grub-installer b/helpers/make-grub-installer
index 1b0840c3..a57b20bb 100644
--- a/helpers/make-grub-installer
+++ b/helpers/make-grub-installer
@@ -1,6 +1,7 @@
 #!/bin/sh
 #
 #    Copyright (C) 2021  Luis Guzman <ark@switnet.org>
+#    Copyright (C) 2022  Ruben Rodriguez <ruben@trisquel.info>
 #
 #    This program is free software; you can redistribute it and/or modify
 #    it under the terms of the GNU General Public License as published by
@@ -17,14 +18,18 @@
 #    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
 #
 
-VERSION=1
+VERSION=2
 EXTERNAL='deb-src http://ftp.debian.org/debian stable main'
 REPOKEY=648ACFD622F3D138
+NETINST=true
 
 . ./config
 
 replace grub-efi-amd64-signed grub-efi-amd64
 
+sed 's/grub-pc$/grub-pc grub-gfxpayload-lists/' -i grub-installer
+sed 's/shim-signed/shim/' -i grub-installer
+
 changelog "Remove grub-efi-amd64-signed dependency."
 
 compile
-- 
GitLab