Message ID | 20230221204445.23931-12-twoerner@gmail.com |
---|---|
State | Accepted, archived |
Commit | 7e1b2598fedfdc7c9a79c5c94273218f2eedcba9 |
Headers | show |
Series | build-appliance-image revival | expand |
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 aa1e87763d57..2321d3a51a24 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 = "ext4 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 \
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 <twoerner@gmail.com> --- meta/recipes-core/images/build-appliance-image_15.0.0.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)