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 
> <p.lobacz=welotec....@lists.openembedded.org> 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:
> -- 
> 2.34.1
> 
> 
> 
> 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#184075): 
https://lists.openembedded.org/g/openembedded-core/message/184075
Mute This Topic: https://lists.openembedded.org/mt/100054733/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to