Generally we need these in native, otherwise ACLs and xattrs are not being preserved as packages are being built on native with usage of native tools which actually need the support for these functionalities as well...
BR Piotr ________________________________ Od: Richard Purdie <richard.pur...@linuxfoundation.org> Wysłane: środa, 12 lipca 2023 14:15 Do: Piotr Łobacz <p.lob...@welotec.com>; openembedded-core@lists.openembedded.org <openembedded-core@lists.openembedded.org> Temat: Re: [OE-Core][PATCH 1/3] bitbake.conf: add acl and xattr distro native features support On Mon, 2023-07-10 at 11:57 +0200, Piotr Łobacz wrote: > Include support for ACLs and extended file attributes for native > builds, depending on which distro target features has been turned > on. > > Signed-off-by: Piotr Łobacz <p.lob...@welotec.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 9625a6fef4..da01e9b66f 100644 > --- a/meta/conf/bitbake.conf > +++ b/meta/conf/bitbake.conf > @@ -904,7 +904,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 xattr" > +DISTRO_FEATURES_NATIVE ?= "x11 ipv6 ${@bb.utils.filter('DISTRO_FEATURES', > 'acl xattr', d)}" > DISTRO_FEATURES_NATIVESDK ?= "x11" > > # Normally target distro features will not be applied to native builds: Is there much benefit to making it depend on the target config? I'm wondering if we should enable acl support in native distro tooling unconditionally in the same way we already do for xattr? That should just cause some minor build dependencies if I understand correctly? Cheers, Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#184188): https://lists.openembedded.org/g/openembedded-core/message/184188 Mute This Topic: https://lists.openembedded.org/mt/100098166/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-