mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
system: grub: Make sure the font and background image are always found.
* gnu/system/grub.scm (eye-candy): Add 'search --file --set'.
This commit is contained in:
parent
6c777cf88c
commit
ccc2678b0d
1 changed files with 4 additions and 1 deletions
|
@ -170,6 +170,9 @@ (define (theme-colors type)
|
|||
insmod video_cirrus
|
||||
}
|
||||
|
||||
# Set 'root' to the partition that contains /gnu/store.
|
||||
search --file --set ~a/share/grub/unicode.pf2
|
||||
|
||||
if loadfont ~a/share/grub/unicode.pf2; then
|
||||
set gfxmode=640x480
|
||||
load_video
|
||||
|
@ -185,7 +188,7 @@ (define (theme-colors type)
|
|||
set menu_color_normal=cyan/blue
|
||||
set menu_color_highlight=white/blue
|
||||
fi~%"
|
||||
#$grub
|
||||
#$grub #$grub
|
||||
#$image
|
||||
#$(theme-colors grub-theme-color-normal)
|
||||
#$(theme-colors grub-theme-color-highlight))))))
|
||||
|
|
Loading…
Reference in a new issue