[oe] [PATCH 2/3] grub: use ${libdir}, not /usr/lib
Michael Smith
msmith at cbnco.com
Thu May 7 19:58:12 UTC 2009
Otavio Salvador wrote:
> On Thu, May 7, 2009 at 4:18 PM, Leon Woestenberg
> <leon.woestenberg at gmail.com> wrote:
>> Why do we install menu.cfg in ${libdir} anyway?
>>
>> All desktop distro's I have seen have the menu.lst in /boot/grub/ on the rootfs.
>
> I second this change; it makes easier for people to find it.
All of the stage1/stage1_5/stage2 files are installed by grub into
/usr/lib/grub/i386-oe/. I believe they're then copied to /boot during
the grub install process. I think what the original 0.97 packager was
going for was to avoid having duplicate copies of the files, so
/boot/grub became a symlink to /usr/lib/grub/i386-oe, and then menu.lst
needed to go there, too.
I would prefer to install all the files to /boot/grub rather than
/usr/lib, since that's where they're used. I'll have to check if the
grub install script is OK with that.
Mike
More information about the Openembedded-devel
mailing list