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

Phil Blundell pb at reciva.com
Thu May 7 18:36:41 UTC 2009


On Thu, 2009-05-07 at 16:26 -0300, 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.

Yes, agreed.  Possibly even more important: having the file in /boot be
a symlink to something in /usr will lose if /boot and /usr are on
different filesystems since grub won't be able to find the file at run
time.  I guess this situation probably doesn't arise all that often on
embedded systems but it's certainly meant to work (per FHS) and it seems
a shame to break it for no good reason.

p.






More information about the Openembedded-devel mailing list