diff options
Diffstat (limited to 'recipes-containers/criu/files/0005-pycriu-skip-dependency-check-during-build.patch')
-rw-r--r-- | recipes-containers/criu/files/0005-pycriu-skip-dependency-check-during-build.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes-containers/criu/files/0005-pycriu-skip-dependency-check-during-build.patch b/recipes-containers/criu/files/0005-pycriu-skip-dependency-check-during-build.patch new file mode 100644 index 00000000..c293131d --- /dev/null +++ b/recipes-containers/criu/files/0005-pycriu-skip-dependency-check-during-build.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | From 2ec745ac11357e3243ef1f23f817c276518ce7cb Mon Sep 17 00:00:00 2001 | ||
2 | From: Tim Orling <tim.orling@konsulko.com> | ||
3 | Date: Sat, 2 Mar 2024 13:48:54 -0800 | ||
4 | Subject: [PATCH] pycriu: --skip-dependency-check during build | ||
5 | |||
6 | It complains about needing protobuf<4, python3-protobuf is 4.25 in meta-python | ||
7 | |||
8 | Signed-off-by: Tim Orling <tim.orling@konsulko.com> | ||
9 | --- | ||
10 | lib/Makefile | 4 ++-- | ||
11 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
12 | |||
13 | diff --git a/lib/Makefile b/lib/Makefile | ||
14 | index b5f147482..e3faa7a06 100644 | ||
15 | --- a/lib/Makefile | ||
16 | +++ b/lib/Makefile | ||
17 | @@ -66,11 +66,11 @@ ifeq ($(PIP_BREAK_SYSTEM_PACKAGES),0) | ||
18 | $(E) " Consider using PIP_BREAK_SYSTEM_PACKAGES=1 make install" | ||
19 | else | ||
20 | $(E) " INSTALL " pycriu | ||
21 | - $(Q) $(PYTHON) -m build --no-isolation --wheel --outdir $(PEP517_WHEEL_PATH) $(PEP517_SOURCE_PATH) $(PEP517_BUILD_OPTS) | ||
22 | + $(Q) $(PYTHON) -m build --no-isolation --wheel --skip-dependency-check --outdir $(PEP517_WHEEL_PATH) $(PEP517_SOURCE_PATH) $(PEP517_BUILD_OPTS) | ||
23 | endif | ||
24 | else | ||
25 | $(E) " BUILD " pycriu | ||
26 | - $(Q) $(PYTHON) -m build --no-isolation --wheel --outdir $(PEP517_WHEEL_PATH) $(PEP517_SOURCE_PATH) $(PEP517_BUILD_OPTS) | ||
27 | + $(Q) $(PYTHON) -m build --no-isolation --wheel --skip-dependency-check --outdir $(PEP517_WHEEL_PATH) $(PEP517_SOURCE_PATH) $(PEP517_BUILD_OPTS) | ||
28 | $(E) " INSTALL " pycriu | ||
29 | #nativepython3 -m installer ${INSTALL_WHEEL_COMPILE_BYTECODE} --interpreter "${USRBINPATH}/env ${PEP517_INSTALL_PYTHON}" --destdir=${D} ${PEP517_WHEEL_PATH}/*.whl | ||
30 | |||