Re: pff font path on separate partition

spamgrinder spamgrinder at o2.pl
Thu Jul 31 10:55:52 UTC 2008


Hi,

I found a difference between two scripts 00_header in grub.d:

in the old (I don't know version) was
#
if font ${GRUB_FONT_PATH} ; then
#

and in the latest (1.96+20080724-2):
#
if font `make_system_path_relative_to_its_root ${GRUB_FONT_PATH}` ; then
#

which gives correct solution: temporarily sets the root variable to (hd0,5). Next, in kernel sections, root are set to other proper values. 

But I received the new script after deleting the old. dpkg didnt't overwrite existing script. Hence I don't need to report bug. 

The only change in script was setting gfxmode to 1024x768. 

For avoid manual edition of this file (and skipping overwrite by dpkg) I propose to introduce the variable like GFXMODE to /etc/default and use it in 00_header. By the way, I propose introduce variable for background image path, e.g. BACKGROUND=/usr/share/images/GRUB-bg.png.

thanks for attention
sg



More information about the Pkg-grub-devel mailing list