[oe] [PATCH 2/3] grub: use ${libdir}, not /usr/lib

Leon Woestenberg leon.woestenberg at gmail.com
Thu May 7 20:05:51 UTC 2009


Hello all,

On Thu, May 7, 2009 at 9:58 PM, Michael Smith <msmith at cbnco.com> wrote:
> 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 we can agree that we do not install GRUB by and on the target itself.

Proposal: add a new package "grub-install" that contains
"grub-install" and the {libdir} stuff.

The usual embedded target would void this package.

> 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.
>
We can have both with the proposal. Thanks for the explanation, btw.

This might be desirable for more-PC like targets (think big iron Atom).

Regards.
-- 
Leon




More information about the Openembedded-devel mailing list