mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-23 07:39:22 +00:00
* grub-core/font/font.c (grub_font_load): Add support for default
path for fonts ($prefix/fonts). * grub-core/kern/corecmd.c (grub_core_cmd_insmod): Unify condition for checking if string is a path. * grub-core/normal/main.c (features): Add feature_default_font_path. * util/grub-mkconfig.in: Skip mangling of GRUB_FONT into GRUB_FONT_PATH. * util/grub.d/00_header.in: Use default directory if possible. * util/grub-install.in: Install unicode.pf2.
This commit is contained in:
1 parent
b3e0862255
commit
274416e82f
7 files changed
+86
-46
No files matched your search
@@ -451,6 +451,11 @@ if test -d "${pkgdatadir}"/themes/starfield; then
|
||||
cp "${pkgdatadir}"/themes/starfield/* "${grubdir}"/themes/starfield
|
||||
fi
|
||||
|
||||
if test -f "${pkgdatadir}"/unicode.pf2; then
|
||||
mkdir -p "${grubdir}"/fonts
|
||||
cp "${pkgdatadir}"/unicode.pf2 "${grubdir}"/fonts
|
||||
fi
|
||||
|
||||
is_path_readable_by_grub "${grubdir}/${target_cpu}-$platform" || (echo "${grubdir}" not readable 1>&2 ; exit 1)
|
||||
|
||||
# Write device to a variable so we don't have to traverse /dev every time.
|
||||
|
||||
Reference in new issue
Block a user