[oe] [PATCH 1/2] micro-uclibc: add xattr to distro features to fix build failure of libcap2
philb at gnu.org
Sat Feb 26 20:20:41 CET 2011
On Sat, 2011-02-26 at 19:59 +0100, Petr Štetiar wrote:
> Phil Blundell <philb at gnu.org> [2011-02-26 18:39:38]:
> > On Sat, 2011-02-26 at 18:44 +0100, Petr Štetiar wrote:
> > > cap_file.c:8:23: fatal error: sys/xattr.h: No such file or directory
> > Are you really using POSIX.1e caps on micro? If yes then I guess this
> > is fine, though it would be interesting to know what the code size
> > impact is.
> I don't use micro at all, I've just added it as another test target for
> 2011.03 release and the build of console-image failed on libcap2 so I've tried
> to fix it. That's all behind it.
Which package in console-image depends on libcap2? It might be worth
exploring whether there is a way to avoid that dependency.
It's worth noting that being able to build console-image is not really a
primary goal for micro. It'd be nice if it worked but I don't want to
add any extra binary bloat in the base system purely for the sake of
getting a clean console-image build that may end up never being used.
So, absent a compelling usage scenario for libcap2 on micro, please
don't commit this patch.
More information about the Openembedded-devel