grub-installer: fix for installation in efi mode
This commit is contained in:
parent
ff303d2678
commit
6830350315
1 changed files with 21 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue