From 906657e9beef9a256b642ebb9857036710c24f62 Mon Sep 17 00:00:00 2001 From: Trevor Woerner Date: Tue, 21 Feb 2023 15:44:45 -0500 Subject: 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' (From OE-Core rev: 7e1b2598fedfdc7c9a79c5c94273218f2eedcba9) Signed-off-by: Trevor Woerner Signed-off-by: Richard Purdie --- meta/recipes-core/images/build-appliance-image_15.0.0.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'meta/recipes-core/images') 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 766b497bd1..cc18d66ecc 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 \ -- cgit v1.2.3-54-g00ecf