[oe-commits] [openembedded-core] 01/62: bitbake.conf: Add xattr to DISTRO_FEATURES_NATIVE

git at git.openembedded.org git at git.openembedded.org
Tue Feb 6 11:07:02 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit 2ad3b8ae1c56a46bf14fc6bc4c34e4b3a568d741
Author: Niko Mauno <niko.mauno at vaisala.com>
AuthorDate: Wed Jan 31 18:55:10 2018 +0200

    bitbake.conf: Add xattr to DISTRO_FEATURES_NATIVE
    
    Commit db1f1adace58763c35774e3fdfeaac5c3ca646fd disabled 'xattr' from
    DISTRO_FEATURES when native packages are built, whereas for target
    packages it was retained. This changed eg. mtd-utils-native to build
    without extended attributes (capabilities) support from there on.
    
    Thus even setcap was called succesfully for a binary during pkg_postinst
    on build host, the capabilities did not exist on target rootfs due to
    now xattr-less host-side mkfs utility.
    
    Adding xattr to DISTRO_FEATURES_NATIVE restores previous behaviour,
    fixing the discontinuity in capability propagation to target
    device rootfs.
    
    Signed-off-by: Niko Mauno <niko.mauno at vaisala.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/conf/bitbake.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 489a161..7007a6e 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -808,7 +808,7 @@ IMAGE_FEATURES += "${EXTRA_IMAGE_FEATURES}"
 
 # Native distro features (will always be used for -native, even if they
 # are not enabled for target)
-DISTRO_FEATURES_NATIVE ?= "x11 ipv6"
+DISTRO_FEATURES_NATIVE ?= "x11 ipv6 xattr"
 DISTRO_FEATURES_NATIVESDK ?= "x11 libc-charsets libc-locales libc-locale-code"
 
 # Normally target distro features will not be applied to native builds:

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list