Skip to content

Commit

Permalink
replaced deprecated vga kernel command option with grub gfxpayload
Browse files Browse the repository at this point in the history
variable use so that no deprecated warning should be displayed anymore.
  • Loading branch information
jens-maus committed Sep 23, 2023
1 parent dd9c2ff commit 0b805d0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions buildroot-external/board/intelnuc/grub.cfg
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
}
5 changes: 3 additions & 2 deletions buildroot-external/board/ova/grub.cfg
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
}

0 comments on commit 0b805d0

Please sign in to comment.