diff options
author | Raphaël Hertzog <hertzog@debian.org> | 2016-11-22 18:17:53 +0100 |
---|---|---|
committer | Raphaël Hertzog <hertzog@debian.org> | 2016-11-28 20:58:18 +0100 |
commit | 674794a8f4d61a729d2dbd6d99385d2826138694 (patch) | |
tree | 0f00963a419ae00b7e83ae492081feb0a2062ae8 /share | |
parent | 2f061569ac3b791216d8b137a51f084c993d2795 (diff) | |
download | vyos-live-build-674794a8f4d61a729d2dbd6d99385d2826138694.tar.gz vyos-live-build-674794a8f4d61a729d2dbd6d99385d2826138694.zip |
Try to reuse /isolinux/splash.png in default grub configuration.
Diffstat (limited to 'share')
-rw-r--r-- | share/bootloaders/grub-pc/grub.cfg | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/share/bootloaders/grub-pc/grub.cfg b/share/bootloaders/grub-pc/grub.cfg index 3430b63a0..a93ceb946 100644 --- a/share/bootloaders/grub-pc/grub.cfg +++ b/share/bootloaders/grub-pc/grub.cfg @@ -1,9 +1,26 @@ set default=0 +loadfont $prefix/unicode.pf2 +set gfxmode=auto +insmod all_video +insmod gfxterm +terminal_output gfxterm + +insmod png insmod tga -background_image ($root)/boot/grub/splash.tga -set color_normal=cyan/blue -set color_highlight=white/blue + +if [ -e /isolinux/splash.png ] ; then + background_image /isolinux/splash.png + set color_normal=light-gray/black + set color_highlight=white/black +else + background_image /boot/grub/splash.tga + set menu_color_normal=cyan/blue + set menu_color_highlight=white/blue +fi + +insmod play +play 960 440 1 0 4 440 1 LINUX_LIVE |