]> code.ossystems Code Review - openembedded-core.git/commitdiff
pseudo: explicitly enable xattr support
authorAndreas Kaufmann <andreas.kaufmann.79@gmail.com>
Thu, 22 Mar 2018 16:06:08 +0000 (17:06 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 28 Mar 2018 10:56:05 +0000 (11:56 +0100)
Pseudo is using a custom configure script that detects if it shall build with
extended file attribute support or not. The check is done by simply calling
'getfattr' provided by attr-native which is not part of the dependency list.
Due to the recent changes (recipe specific sysroot & cleanup of $PATH) this
call fails now when the recipe is being build for the first time (at least
when being build for nativesdk case). Explicitly setting up a dependency to
attr-native just to satisfy configure would be wrong also since the real
dependency is to attr/nativesdk-attr which are already part of the dependency
list (see DEPENDS). Therefore bypass the test in the configure by explicitly
enabling xattr using a configure option available in any case.

Signed-off-by: Andreas Kaufmann <andreas.kaufmann.79@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/pseudo/pseudo.inc

index fb742522f5039997a8c8729fcf3b3ff0bfff8385..cdc2a5823f66ce83d1f6efc7d42f1602f9f0cb60 100644 (file)
@@ -26,7 +26,7 @@ do_configure () {
 NO32LIBS ??= "1"
 NO32LIBS_class-nativesdk = "1"
 
-PSEUDO_EXTRA_OPTS ?= "--enable-force-async --without-passwd-fallback --enable-epoll"
+PSEUDO_EXTRA_OPTS ?= "--enable-force-async --without-passwd-fallback --enable-epoll --enable-xattr"
 
 # Compile for the local machine arch...
 do_compile () {