libarchive: avoid dependency on e2fsprogs
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Thu, 5 Jun 2014 09:46:16 +0000 (10:46 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 6 Jun 2014 08:26:05 +0000 (09:26 +0100)
commitd4495d3cb17a9675dc11ad10cf1762ebffbe2774
treec9306083895dcd2458da0ce8d3a074b5ba530193
parent4b86b8735289e9896e72d3bbbfb62fd9a37d9912
libarchive: avoid dependency on e2fsprogs

libarchive's configure script looks for ext2fs/ext2_fs.h in order to use
some defines for file attributes support if present (but doesn't link to
any additional libraries.) There is no configure option to disable this,
and if e2fsprogs is rebuilding between do_configure and do_compile you
can currently get a failure. Because it doesn't need anything else from
e2fsprogs, and e2fsprogs isn't currently buildable for nativesdk anyway,
copy the headers in from e2fsprogs-native which we're likely to have
built already (and add it to DEPENDS just to be sure we have.)

Fixes [YOCTO #6268].

(From OE-Core rev: ad754e46ad477acfbe7543187a5c38bc333b8612)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/libarchive/libarchive_3.1.2.bb