system: grub: Adjust eye-candy to work on non-Intel systems.
authorMark H Weaver <mhw@netris.org>
Sun, 9 Aug 2015 22:45:49 +0000 (18:45 -0400)
committerLudovic Courtès <ludo@gnu.org>
Tue, 27 Oct 2015 20:44:46 +0000 (21:44 +0100)
commit6b173ac0041539989f1c892b35ea8817fda18ad4
tree465e1b876351008edf8d6a9256aa501c5a1c8195
parentc448bf7443dcfbc44f525526a43ac52754a0cd87
system: grub: Adjust eye-candy to work on non-Intel systems.

* gnu/system/grub.scm (eye-candy): Accept additional 'system' argument.  Add
  local 'setup-gfxterm-body' variable.  Replace the 'load_video' grub function
  with 'setup_gfxterm', which includes everything in the 'if loadfont' form on
  Intel systems, but is empty on non-Intel.
  (grub-configuration-file): Pass 'system' to 'eye-candy.
gnu/system/grub.scm