[oe] [PATCH 2/3] grub: use ${libdir}, not /usr/lib
Graeme Gregory
dp at xora.org.uk
Thu May 7 20:02:28 UTC 2009
Leon Woestenberg wrote:
> Hello,
>
> On Thu, May 7, 2009 at 8:27 PM, Michael Smith <msmith at cbnco.com> wrote:
>
>> Signed-off-by: Michael Smith <msmith at cbnco.com>
>>
>> do_install_append() {
>> install -d ${D}/boot/
>> - ln -sf ../usr/lib/grub/i386${TARGET_VENDOR}/ ${D}/boot/grub
>> + ln -sf ..${libdir}/grub/i386${TARGET_VENDOR}/ ${D}/boot/grub
>>
>>
>
> 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.
>
> Is this a FHS thing?
>
>
/boot is on most distros a seperate partition from /. This is to allow
encrypted/lvm based / partitions and the like.
Graeme
More information about the Openembedded-devel
mailing list