On Thu, Oct 27, 2011 at 03:53, Seth Goldberg
<address@hidden> wrote:
Quoting Vladimir 'φ-coder/phcoder' Serbinenko, who wrote the following on...:
prefix will be "X". Just on runtime it will add platform to it when
loading modules and .lst (but not locale, themes and grub.cfg)
Sorry -- prefix is the wrong term. It is interesting that you're going beyond what I thought, though; I thought you were just going to do what grub-mkrescue did by creating the platform subdirs and putting grub.cfg in there that does platform-specific stuff then sources ../grub.cfg; I think that was a good approach, since you ended up with the generic entries in the ../grub.cfg file and platform-specific goodness in the platform dirs.
For now can you please check-in grub-mkconfig-Use_outside_GRUB_PREFIX_if_defined.patch (file attached). I can't think of any other way more simple than this. For usage like (as root)
# GRUB_PREFIX="/boot/efi/efi/grub" grub-mkconfig -o /boot/efi/efi/grub/grub.cfg
This is definitely not the best or the long-term solution but for now this will suffice (till the actual option to be used is decided). Thanks in advance.
Regards.
Keshav