2008-06-29 Robert Millan <rmh@aybabtu.com>
* util/update-grub_lib.in (font_path): Search for fonts in /boot/grub first, which is more likely to be readable (we aren't deciding where fonts live, just looking for them).
This commit is contained in:
parent
6c2d8df669
commit
674835c830
2 changed files with 7 additions and 3 deletions
|
@ -1,3 +1,9 @@
|
|||
2008-06-29 Robert Millan <rmh@aybabtu.com>
|
||||
|
||||
* util/update-grub_lib.in (font_path): Search for fonts in
|
||||
/boot/grub first, which is more likely to be readable (we aren't
|
||||
deciding where fonts live, just looking for them).
|
||||
|
||||
2008-06-26 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* util/biosdisk.c (read_device_map): Don't leave dead map
|
||||
|
|
|
@ -130,9 +130,7 @@ prepare_grub_to_access_device ()
|
|||
|
||||
font_path ()
|
||||
{
|
||||
# Prefer system path for space reasons (/boot/grub might be a very small
|
||||
# partition in case of OpenFirmware, etc).
|
||||
for dir in ${pkgdatadir} /usr/share/grub /boot/grub ; do
|
||||
for dir in ${pkgdatadir} /boot/grub /usr/share/grub ; do
|
||||
# Prefer complete fonts over incomplete ones.
|
||||
for basename in unicode unifont ascii ; do
|
||||
path="${dir}/${basename}.pff"
|
||||
|
|
Loading…
Reference in a new issue