From 19e05d49312859023f7878a0a10e8ffd54deb562 Mon Sep 17 00:00:00 2001 From: cr6git Date: Mon, 29 Jan 2018 13:46:12 +0100 Subject: [PATCH] grub: remove artwork, add GRUB_COLOR variables instead --- srcpkgs/grub/files/grub.default | 6 +++- .../0004-add-GRUB_COLOR_variables.patch | 32 +++++++++++++++++++ srcpkgs/grub/template | 2 +- 3 files changed, 38 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/grub/patches/0004-add-GRUB_COLOR_variables.patch diff --git a/srcpkgs/grub/files/grub.default b/srcpkgs/grub/files/grub.default index 4637ef185f9..5cd1fd2fd52 100644 --- a/srcpkgs/grub/files/grub.default +++ b/srcpkgs/grub/files/grub.default @@ -11,7 +11,11 @@ GRUB_CMDLINE_LINUX_DEFAULT="loglevel=4 slub_debug=P page_poison=1" #GRUB_TERMINAL_INPUT="console" # Uncomment to disable graphical terminal #GRUB_TERMINAL_OUTPUT=console -GRUB_BACKGROUND=/usr/share/void-artwork/splash.png +#GRUB_BACKGROUND=/usr/share/void-artwork/splash.png #GRUB_GFXMODE=1920x1080x32 #GRUB_DISABLE_LINUX_UUID=true #GRUB_DISABLE_RECOVERY=true +# Uncomment and set to the desired menu colors. Used by normal and wallpaper +# modes only. Entries specified as foreground/background. +#GRUB_COLOR_NORMAL="light-blue/black" +#GRUB_COLOR_HIGHLIGHT="light-cyan/blue" diff --git a/srcpkgs/grub/patches/0004-add-GRUB_COLOR_variables.patch b/srcpkgs/grub/patches/0004-add-GRUB_COLOR_variables.patch new file mode 100644 index 00000000000..f899717c4d9 --- /dev/null +++ b/srcpkgs/grub/patches/0004-add-GRUB_COLOR_variables.patch @@ -0,0 +1,32 @@ +diff --git a/util/grub-mkconfig.in b/util/grub-mkconfig.in +index 3390ba9..c416489 100644 +--- util/grub-mkconfig.in ++++ util/grub-mkconfig.in +@@ -218,6 +218,8 @@ export GRUB_DEFAULT \ + GRUB_THEME \ + GRUB_GFXPAYLOAD_LINUX \ + GRUB_DISABLE_OS_PROBER \ ++ GRUB_COLOR_NORMAL \ ++ GRUB_COLOR_HIGHLIGHT \ + GRUB_INIT_TUNE \ + GRUB_SAVEDEFAULT \ + GRUB_ENABLE_CRYPTODISK \ +diff --git a/util/grub.d/00_header.in b/util/grub.d/00_header.in +index d2e7252..8259f45 100644 +--- util/grub.d/00_header.in ++++ util/grub.d/00_header.in +@@ -125,6 +125,14 @@ cat <