]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
build-appliance-image: do not inherit setuptools
authorAlexander Kanavin <alex@linutronix.de>
Mon, 22 Dec 2025 20:05:43 +0000 (21:05 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 31 Dec 2025 12:02:50 +0000 (12:02 +0000)
commit467cdad1b95b118ce4d66948484343628f2b38e2
tree555fd89fcb9e94f475eb88aece5e5e2ca98f597f
parenta4fc3adac3b152bd4dceb1fd5d8f0924ab218184
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 <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/images/build-appliance-image_15.0.0.bb