summaryrefslogtreecommitdiff
path: root/sys-boot/grub/files/grub-1.97-vga-deprecated.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-boot/grub/files/grub-1.97-vga-deprecated.patch')
-rw-r--r--sys-boot/grub/files/grub-1.97-vga-deprecated.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/sys-boot/grub/files/grub-1.97-vga-deprecated.patch b/sys-boot/grub/files/grub-1.97-vga-deprecated.patch
new file mode 100644
index 00000000..16b2ef7e
--- /dev/null
+++ b/sys-boot/grub/files/grub-1.97-vga-deprecated.patch
@@ -0,0 +1,12 @@
+--- grub-1.97.2.orig/util/grub.d/00_header.in
++++ grub-1.97.2/util/grub.d/00_header.in
+@@ -76,6 +76,9 @@ case x${GRUB_TERMINAL_OUTPUT} in
+ cat << EOF
+ if loadfont `make_system_path_relative_to_its_root ${GRUB_FONT_PATH}` ; then
+ set gfxmode=${GRUB_GFXMODE}
++ # vga= is deprecated, grub2 handles this just fine
++ # making grub2 res == linux fb res
++ set gfxpayload=keep
+ insmod gfxterm
+ insmod ${GRUB_VIDEO_BACKEND}
+ if terminal_output gfxterm ; then true ; else