[poky] grub: Added libdevmapper support [ poky rocko branch ]
akuster808
akuster808 at gmail.com
Sat Jul 7 08:05:59 PDT 2018
On 07/06/2018 12:43 AM, Thiruvadi Rajaraman wrote:
> Hi,
>
> Found libdevmapper was explicitly disabled on configure process and
> these causes failure in loading/install the grub on lvm/device mapper
> disks.
Correct, its done on purpose. That lvm2 recipe resides in
meta-openembedded so we can not enable it in core. That must be done in
a local.conf or at the distro level.
>
> Though the following commit changes in poky mater branch changes lvm2
> to libdevmapper, Found issue still exist.
The original fix can be backported to Rocko if it is in Sumo.
Please note, that patches should not be sent via an attachment. Please
use 'git send-patch' instead. Also, please use the
openembedded-core at lists.openembedded.org mailing list for core patches.
- Armin
>
> < snip >
>
> commit 9bfe9dadfe929c9d1d15008597ef9d49be4c0fe4
> Author: Robert Joslyn <robert_joslyn at selinc.com
> <mailto:robert_joslyn at selinc.com>>
> Date: Wed Jan 17 13:12:34 2018 -0800
>
> grub: Fix device mapper dependency
>
> < snip >
>
> The attached patch resolves the issue. found the grub binaries are
> cross compiled with libdevmapper.so* support by LDflasgs and LIBS.
>
> Test logs without attached fix patch ( do_configure process )
> ===========================
> From log.do_configure logs,
>
> *******************************************************
> GRUB2 will be compiled with following components:
> Platform: i386-pc
> With devmapper support: No (explicitly disabled)
> <snip>
> *********************************************************
> $ ldd ./image/usr/sbin/grub-install
> linux-vdso.so.1 => (0x00007ffc32df9000)
> libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f2cb01d0000)
> /lib64/ld-linux-x86-64.so.2 (0x00005576a79df000)
> $
>
>
>
> Test logs with attached fix patch ( do_configure process )
> ==========================
> From log.do_configure logs,
>
> *******************************************************
> GRUB2 will be compiled with following components:
> Platform: i386-pc
> With devmapper support: Yes
> < snip>
> ***********************************************************
> $ ldd ../build/grub-install
> tmp/work/corei7-64-montavista-linux/grub/2.02-r0.3/build/grub-install:
> /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.22' not found (required by
> /usr/lib/libdevmapper.so.1.02)
> linux-vdso.so.1 => (0x00007ffc0b0db000)
> libdevmapper.so.1.02 => /usr/lib/libdevmapper.so.1.02
> (0x00007fabd40fb000)
> libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fabd3d32000)
> librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fabd3b2a000)
> libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1
> (0x00007fabd3906000)
> libudev.so.1 => /lib/x86_64-linux-gnu/libudev.so.1 (0x00007fabd36f5000)
> libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
> (0x00007fabd34d7000)
> libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fabd31d0000)
> /lib64/ld-linux-x86-64.so.2 (0x000055cd824d8000)
> libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007fabd2f92000)
> libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fabd2d8e000)
> libcgmanager.so.0 => /lib/x86_64-linux-gnu/libcgmanager.so.0
> (0x00007fabd2b72000)
> libnih.so.1 => /lib/x86_64-linux-gnu/libnih.so.1 (0x00007fabd295a000)
> libnih-dbus.so.1 => /lib/x86_64-linux-gnu/libnih-dbus.so.1
> (0x00007fabd2750000)
> libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3
> (0x00007fabd250a000)
> $
>
> Please kindly review and suggest comments.
>
> Thanks,
> Thiruvadi Rajaraman
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20180707/3a7ad1ec/attachment.html>
More information about the poky
mailing list