On 26.02.2012 17:20, Towheed Mohammed wrote:
I have tested this on separate distros, including but not limited to:
ArchLinux, Debian (and Debian-based distros), Slackware, Fedora, VectorLinux
and openSUSE (some others I can't recall ATM), all with and without separate
/boot partitions and all with GRUB 1.99 installed.. Actually, my demo theme is
located in /usr/share/grub and not in /boot/grub. As it is, the fully
qualified filename works as intended. Placing the themes in /usr/share/grub
removes the incompatibility of having a separate /boot partition and also
removes any incompatibility from some distro that use /boot/grub2 instead of
/boot/grub.
Then think about a separate /usr. theme files are static and have no way
of knowing about adjusted for some reason directories.
Moreover / and /usr may be unavailable to GRUB, e.g. it may be on NFS or
encrypted. We can assume only that the $prefix with subdirectories and
files needed to boot OS (in case of GNU/Linux it's Linux and initrd in
/boot, other OS may have files outside /boot which may assume readable
e.g. /mach_kernel for xnu).
That's the reason I've adjusted grub-install to copy theme and fonts to
$prefix/themes resp $prefix/fonts.
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel