pip_install_wheel: Use --ignore-installed for pip

Replace the use of --force-reinstall with --ignore-installed when running pip
install. It can detect currently installed modules in the wrong environment and
try to remove them currently which is not what is desired. Ignoring them is the
correct thing to do.

(From OE-Core rev: 39b0d36b00d98a848297d0667c6cffc049d215e3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2022-02-23 12:10:05 +00:00
parent 417f4de5c6
commit 3dbb469523

View File

@@ -6,7 +6,7 @@ PYPA_WHEEL ??= "${PIP_INSTALL_DIST_PATH}/${PIP_INSTALL_PACKAGE}-${PV}-*.whl"
PIP_INSTALL_ARGS ?= "\
-vvvv \
--force-reinstall \
--ignore-installed \
--no-cache \
--no-deps \
--no-index \