From 0b805d05c1e4a01c71f5034ca3be0abe03e86faa Mon Sep 17 00:00:00 2001 From: Jens Maus Date: Sun, 24 Sep 2023 00:06:13 +0200 Subject: [PATCH] replaced deprecated vga kernel command option with grub gfxpayload variable use so that no deprecated warning should be displayed anymore. --- buildroot-external/board/intelnuc/grub.cfg | 5 +++-- buildroot-external/board/ova/grub.cfg | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/buildroot-external/board/intelnuc/grub.cfg b/buildroot-external/board/intelnuc/grub.cfg index d99ba5ff68..c5cbc64bb3 100644 --- a/buildroot-external/board/intelnuc/grub.cfg +++ b/buildroot-external/board/intelnuc/grub.cfg @@ -1,5 +1,6 @@ # default settings set timeout="5" +set gfxpayload=1024x768x32,1024x768,auto # search for our main filesystems search --no-floppy --label bootfs --set=bootfs @@ -19,10 +20,10 @@ fi # menu entry definitions menuentry "RaspberryMatic" { set root=$rootfs - linux /zImage console=tty2 root=PARTUUID=deedbeef-02 ro rootwait rootdelay=5 rootfstype=ext4 fsck.repair=yes vga=792 init_on_alloc=1 init_on_free=1 slab_nomerge pti=on net.ifnames=0 quiet loglevel=0 + linux /zImage console=tty2 root=PARTUUID=deedbeef-02 ro rootwait rootdelay=5 rootfstype=ext4 fsck.repair=yes init_on_alloc=1 init_on_free=1 slab_nomerge pti=on net.ifnames=0 quiet loglevel=0 } menuentry "RaspberryMatic-recovery" { set root=$bootfs - linux /recoveryfs-zImage console=tty2 root=/dev/ram0 ro rootwait rootdelay=5 vga=792 init_on_alloc=1 init_on_free=1 slab_nomerge pti=on net.ifnames=0 quiet loglevel=0 + linux /recoveryfs-zImage console=tty2 root=/dev/ram0 ro rootwait rootdelay=5 init_on_alloc=1 init_on_free=1 slab_nomerge pti=on net.ifnames=0 quiet loglevel=0 initrd /recoveryfs-initrd } diff --git a/buildroot-external/board/ova/grub.cfg b/buildroot-external/board/ova/grub.cfg index d99ba5ff68..c5cbc64bb3 100644 --- a/buildroot-external/board/ova/grub.cfg +++ b/buildroot-external/board/ova/grub.cfg @@ -1,5 +1,6 @@ # default settings set timeout="5" +set gfxpayload=1024x768x32,1024x768,auto # search for our main filesystems search --no-floppy --label bootfs --set=bootfs @@ -19,10 +20,10 @@ fi # menu entry definitions menuentry "RaspberryMatic" { set root=$rootfs - linux /zImage console=tty2 root=PARTUUID=deedbeef-02 ro rootwait rootdelay=5 rootfstype=ext4 fsck.repair=yes vga=792 init_on_alloc=1 init_on_free=1 slab_nomerge pti=on net.ifnames=0 quiet loglevel=0 + linux /zImage console=tty2 root=PARTUUID=deedbeef-02 ro rootwait rootdelay=5 rootfstype=ext4 fsck.repair=yes init_on_alloc=1 init_on_free=1 slab_nomerge pti=on net.ifnames=0 quiet loglevel=0 } menuentry "RaspberryMatic-recovery" { set root=$bootfs - linux /recoveryfs-zImage console=tty2 root=/dev/ram0 ro rootwait rootdelay=5 vga=792 init_on_alloc=1 init_on_free=1 slab_nomerge pti=on net.ifnames=0 quiet loglevel=0 + linux /recoveryfs-zImage console=tty2 root=/dev/ram0 ro rootwait rootdelay=5 init_on_alloc=1 init_on_free=1 slab_nomerge pti=on net.ifnames=0 quiet loglevel=0 initrd /recoveryfs-initrd }