Hi Ross, I have added patches to oe-core for opkg-utils and opkg. On opkg-devel Alex has also mentioned to do that as he will apply these patches to the newest versions of opkg and opkg-utils.
BR Piotr ________________________________ Od: Piotr Łobacz <[email protected]> Wysłane: wtorek, 11 lipca 2023 13:07 Do: Ross Burton <[email protected]> DW: [email protected] <[email protected]> Temat: Re: [OE-Core][PATCH 1/3] bitbake.conf: add acl and xattr distro native features support Hi Ross, Alex has written that he will take care of it today, but ofcourse I can additionally apply paches in oe-core layer as well today evening. Regarding additional tests we need to apply them ASAP. BR Piotr ________________________________ Od: Ross Burton <[email protected]> Wysłane: Monday, July 10, 2023 2:02:37 PM Do: Piotr Łobacz <[email protected]> DW: [email protected] <[email protected]> Temat: Re: [OE-Core][PATCH 1/3] bitbake.conf: add acl and xattr distro native features support Hi Piotr, This is a great patchset, thanks for chasing all the loose ends. Until the patches for opkg have landed we can apply them to our recipes, so feel free to send a patch to the opkg/opkg-utils recipes to do that. Also some form of test would be essential. Something along the lines of adding to an image a test recipe which has both ACLs and arbitrary xattrs set, and then boot the image and verify that the attrs actually exist. Although I guess you could just build an ext4 of the image and then use debug2fs to probe it. That would be a little more complex to write, but doesn’t mean booting the image. Ross > On 10 Jul 2023, at 10:57, Piotr Łobacz via lists.openembedded.org > <[email protected]> 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 <[email protected]> > --- > 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: > -- > 2.34.1 > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#184162): https://lists.openembedded.org/g/openembedded-core/message/184162 Mute This Topic: https://lists.openembedded.org/mt/100090187/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
