diff options
author | Llewelyn Trahaearn | 2017-02-11 09:32:41 -0800 |
---|---|---|
committer | Llewelyn Trahaearn | 2017-02-11 09:32:41 -0800 |
commit | 2802c4d0e34ee08c04f9ac98639d8ade4a1aa337 (patch) | |
tree | d53ad5b3c507e4e512fc33ad729531b88981979a /add-GRUB_COLOR_variables.patch | |
parent | 37703ae85d9773fdc3f3d8ddcb773ad71c59e09c (diff) | |
download | aur-2802c4d0e34ee08c04f9ac98639d8ade4a1aa337.tar.gz |
Rebase on latest PKBUILD from [Core].
Diffstat (limited to 'add-GRUB_COLOR_variables.patch')
-rw-r--r-- | add-GRUB_COLOR_variables.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/add-GRUB_COLOR_variables.patch b/add-GRUB_COLOR_variables.patch new file mode 100644 index 000000000000..c113a81d5754 --- /dev/null +++ b/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 +--- a/util/grub-mkconfig.in ++++ b/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 +--- a/util/grub.d/00_header.in ++++ b/util/grub.d/00_header.in +@@ -125,6 +125,14 @@ cat <<EOF + + EOF + ++if [ x$GRUB_COLOR_NORMAL != x ] && [ x$GRUB_COLOR_HIGHLIGHT != x ] ; then ++ cat << EOF ++set menu_color_normal=$GRUB_COLOR_NORMAL ++set menu_color_highlight=$GRUB_COLOR_HIGHLIGHT ++ ++EOF ++fi ++ + serial=0; + gfxterm=0; + for x in ${GRUB_TERMINAL_INPUT} ${GRUB_TERMINAL_OUTPUT}; do |