Re: [PATCH 1/1] e2fsprogs: 1.42.9 -> 1.43-WIP

Koen Kooi
2016-01-21T07:21:37Z

> Op 15 jan. 2016, om 03:05 heeft Robert Yang <liezhi.yang@windriver.com> het volgende geschreven:
>
> Upgrade to 1.43-WIP to make "mke2fs -d" support xattr, so that the layer
> which requires xattr such as meta-selinux can populate images easily.
>
>
> * Add --enable-libblkid to EXTRA_OECONF since libblkid is not created by
> default.

*ahem*

commit fb8e776ea91c39d586b46400ad30aeea8dead1c4
Author: Richard Purdie <richard.purdie@linuxfoundation.org>
Date: Sat Aug 25 16:45:33 2012 +0100

e2fsprogs: Fully remove/disable blkid

We've removed libblkid from e2fsprogs as it was being provided by util-linux. The blkid
binary is also provided there and providing it within e2fsprogs too, linked against
a different and potentially incompatible library we're likely asking for trouble.

It also leads to inconsistencies in the native sysroot since we don't consistently
get one given provider of blkid (but always the liblibid from util-linux).

To clean this up, fully remove/disable the blkid binary and package.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

And the do_install in the recipe:

# We use blkid from util-linux now so remove from here
rm -f ${D}${base_libdir}/libblkid*
rm -rf ${D}${includedir}/blkid
rm -f ${D}${base_libdir}/pkgconfig/blkid.pc
rm -f ${D}${base_sbindir}/blkid
rm -f ${D}${base_sbindir}/fsck
rm -f ${D}${base_sbindir}/findfs