summaryrefslogtreecommitdiff
path: root/sys-boot/grub/files/grub-1.99-vga-deprecated.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-boot/grub/files/grub-1.99-vga-deprecated.patch')
-rw-r--r--sys-boot/grub/files/grub-1.99-vga-deprecated.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/sys-boot/grub/files/grub-1.99-vga-deprecated.patch b/sys-boot/grub/files/grub-1.99-vga-deprecated.patch
new file mode 100644
index 00000000..20ea6d89
--- /dev/null
+++ b/sys-boot/grub/files/grub-1.99-vga-deprecated.patch
@@ -0,0 +1,12 @@
+--- grub-1.99~rc1.orig/util/grub.d/00_header.in
++++ grub-1.99~rc1/util/grub.d/00_header.in
+@@ -131,6 +131,9 @@ if [ "x$gfxterm" = x1 ]; then
+ if loadfont `make_system_path_relative_to_its_root "${GRUB_FONT_PATH}"` ; then
+ set gfxmode=${GRUB_GFXMODE}
+ load_video
++ # vga= is deprecated, grub2 handles this just fine
++ # making grub2 res == linux fb res
++ set gfxpayload=keep
+ insmod gfxterm
+ fi
+ EOF