From: Alexander Kanavin Date: Mon, 22 Dec 2025 20:05:43 +0000 (+0100) Subject: build-appliance-image: do not inherit setuptools X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=467cdad1b95b118ce4d66948484343628f2b38e2;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git build-appliance-image: do not inherit setuptools The recipe is using pip, and that doesn't require setuptools. I believe it was a mix-up from https://bugzilla.yoctoproject.org/show_bug.cgi?id=11022 where the initial idea was to use easy_install from setuptools. A particular reason to drop the setuptools inherit is that setuptools brings in python3native class which sets PYTHONNOUSERSITE = "1" to avoid $HOME contamination. This is causing errors with pip 25.3, which rejects --user option in presence of that environment variable. This recipe redirects $HOME before running pip, so contamination is avoided. Signed-off-by: Alexander Kanavin Signed-off-by: Mathieu Dubois-Briand 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 406cd2abee..5a7db7bfb9 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,7 @@ APPEND += "rootfstype=ext4 quiet" DEPENDS = "zip-native python3-pip-native" IMAGE_FSTYPES = "wic.vmdk wic.vhd wic.vhdx" -inherit core-image setuptools3 features_check +inherit core-image features_check REQUIRED_DISTRO_FEATURES += "xattr"