Skip to content
Snippets Groups Projects
Commit 68303503 authored by Ruben Rodriguez's avatar Ruben Rodriguez
Browse files

grub-installer: fix for installation in efi mode

parent ff303d26
No related branches found
No related tags found
No related merge requests found
Pipeline #764 passed
......@@ -18,7 +18,7 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
VERSION=2
VERSION=3
EXTERNAL='deb-src http://ftp.debian.org/debian stable main'
REPOKEY=648ACFD622F3D138
NETINST=true
......@@ -27,9 +27,28 @@ NETINST=true
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
cat << EOF | patch -p1
diff -ru a/grub-installer b/grub-installer
--- a/grub-installer 2022-11-25 19:04:53.765346384 -0500
+++ b/grub-installer 2022-11-25 19:16:10.042175329 -0500
@@ -508,8 +508,12 @@
grub-efi-ia32-bin grub-efi-ia32
;;
grub-efi*)
+ export DEBIAN_PRIORITY=critical
+ export DEBIAN_FRONTEND=noninteractive
+ unset DEBIAN_HAS_FRONTEND
+ unset DEBCONF_REDIR
log-output -t grub-installer \$chroot \$ROOT dpkg -P \\
- grub grub-legacy grub-pc-bin grub-pc
+ grub grub-legacy grub-pc-bin grub-pc grub-gfxpayload-lists
;;
esac
EOF
changelog "Remove grub-efi-amd64-signed dependency."
compile
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment