]> git.ipfire.org Git - ipfire-2.x.git/blame - src/patches/grub-2.02_disable_vga_fallback.patch
Merge branch 'ipsec' into next
[ipfire-2.x.git] / src / patches / grub-2.02_disable_vga_fallback.patch
CommitLineData
20406699
AF
1We have to remove the vga fallback because this not work on bay-trail and other
2new intel onboard graphics.
3
4diff -Naur grub-2.02.org/grub-core/video/i386/pc/vga.c grub-2.02/grub-core/video/i386/pc/vga.c
5--- grub-2.02.org/grub-core/video/i386/pc/vga.c 2015-05-21 17:50:29.000000000 +0200
6+++ grub-2.02/grub-core/video/i386/pc/vga.c 2018-04-15 22:24:41.686842878 +0200
7@@ -122,7 +122,7 @@
8 {
9 grub_err_t err;
10
11- if ((width && width != VGA_WIDTH) || (height && height != 350 && height != 480))
12+// if ((width && width != VGA_WIDTH) || (height && height != 350 && height != 480))
13 return grub_error (GRUB_ERR_UNKNOWN_DEVICE, "no matching mode found");
14
15 vga_height = height ? : 480;