From 227452ab4bb5b6518eb56def5a744ee9d4947cae Mon Sep 17 00:00:00 2001 From: Tim Orling Date: Sat, 2 Mar 2024 14:10:30 -0800 Subject: criu: cleanup; export USRBINPATH PEP517_INSTALL_PYTHON Signed-off-by: Tim Orling --- recipes-containers/criu/criu_git.bb | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/recipes-containers/criu/criu_git.bb b/recipes-containers/criu/criu_git.bb index b06fa636..b02de22e 100644 --- a/recipes-containers/criu/criu_git.bb +++ b/recipes-containers/criu/criu_git.bb @@ -75,18 +75,14 @@ do_compile:prepend() { } do_compile () { - #python_pep517_do_compile - #export PEP517_SOURCE_PATH="${S}/crit" - #python_pep517_do_compile - #oe_runmake - #oe_runmake #PIP_BREAK_SYSTEM_PACKAGES=1 - export PEP517_WHEEL_PATH="${PEP517_WHEEL_PATH}" oe_runmake FULL_PYTHON=${PYTHON} PYTHON=nativepython3 } do_install () { export INSTALL_LIB="${libdir}/${PYTHON_DIR}/site-packages" export PEP517_WHEEL_PATH="${PEP517_WHEEL_PATH}" + export USRBINPATH="${USRBINPATH}" + export PEP517_INSTALL_PYTHON="${PEP517_INSTALL_PYTHON}" oe_runmake PREFIX=${exec_prefix} LIBDIR=${libdir} DESTDIR="${D}" PLUGINDIR="${localstatedir}/lib" FULL_PYTHON=${PYTHON} PYTHON=nativepython3 install # python3's distutils has a feature of rewriting the interpeter on setup installed -- cgit v1.2.3-54-g00ecf