From: Trevor Woerner Date: Tue, 21 Feb 2023 20:44:45 +0000 (-0500) Subject: build-appliance-image: check for xattr feature X-Git-Tag: 2023-04-mickledore~433 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e1b2598fedfdc7c9a79c5c94273218f2eedcba9;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git build-appliance-image: check for xattr feature The xattr DISTRO_FEATURE is required otherwise a bitbake build will fail due to a failure with the 'cp' utility: Subprocess output: cp: cannot preserve extended attributes, cp is built without xattr support ERROR: Logfile of failure stored in: /home/builder/poky/build/tmp/work/qemux86_64-poky-linux/packagegroup-base/1.0-r83/temp/log.do_populate_lic.1001 ERROR: Task (/home/builder/poky/meta/recipes-core/packagegroups/packagegroup-base.bb:do_populate_lic) failed with exit code '1' Signed-off-by: Trevor Woerner Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-core/images/build-appliance-image_15.0.0.bb b/meta/recipes-core/images/build-appliance-image_15.0.0.bb index 766b497bd1b..cc18d66ecc8 100644 --- a/meta/recipes-core/images/build-appliance-image_15.0.0.bb +++ b/meta/recipes-core/images/build-appliance-image_15.0.0.bb @@ -22,7 +22,9 @@ APPEND += "rootfstype=ext4 quiet" DEPENDS = "zip-native python3-pip-native" IMAGE_FSTYPES = "wic.vmdk wic.vhd wic.vhdx" -inherit core-image setuptools3 +inherit core-image setuptools3 features_check + +REQUIRED_DISTRO_FEATURES += "xattr" SRCREV ?= "a5507f383cdab99806df131bf4aef191799c5153" SRC_URI = "git://git.yoctoproject.org/poky;branch=master \