From 62fa042a17846f1619f257f878b928364d96b3a8 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sun, 31 Oct 2021 00:54:53 +0100 Subject: re-add grub backgrounds and update grub. mitigate missing characters mitigate missing characters in unifont for border/arrow characters. this saves space because now it is no longer necessary to add a custom font the background added has the libreboot logo on it, and it's 10kb in size unlike the old gnulove background that was hundreds of KB --- resources/grub/config/grub.cfg | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'resources/grub/config') diff --git a/resources/grub/config/grub.cfg b/resources/grub/config/grub.cfg index b4d222cb..7d889989 100644 --- a/resources/grub/config/grub.cfg +++ b/resources/grub/config/grub.cfg @@ -23,6 +23,14 @@ terminal_output --append cbmemc gfxpayload=keep terminal_output --append gfxterm +if [ -f (cbfsdisk)/background.png ]; then + insmod png + background_image (cbfsdisk)/background.png +elif [ -f (cbfsdisk)/background.jpg ]; then + insmod jpeg + background_image (cbfsdisk)/background.jpg +fi + # Default to first option, automatically boot after 1 second set default="0" set timeout=10 -- cgit v1.2.1