blob: d2dcbafef166b4f546314c04321ace73ad120e12 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# Create required fonts, otherwise graphic mode won't be loaded
if [ -x "/bin/grub-mkfont" ]; then
# This is the bare minimum
grub-mkfont --output=/boot/grub/unifont.pf2 \
/usr/share/fonts/unifont/unifont.pcf.gz
# let's load DejaVu if exists, no deps against it
# to avoid crazy deps on critical pkg
if [ -x "/usr/share/fonts/dejavu/DejaVuSans.ttf" ]; then
grub-mkfont --output=/boot/grub/dejavu.pf2 \
/usr/share/fonts/dejavu/DejaVuSans.ttf
fi
fi
|