summaryrefslogtreecommitdiffstats
path: root/recipes-containers/criu/files/0001-crit-explicity-set-PEP517_SOURCE_PATH.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-containers/criu/files/0001-crit-explicity-set-PEP517_SOURCE_PATH.patch')
-rw-r--r--recipes-containers/criu/files/0001-crit-explicity-set-PEP517_SOURCE_PATH.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/recipes-containers/criu/files/0001-crit-explicity-set-PEP517_SOURCE_PATH.patch b/recipes-containers/criu/files/0001-crit-explicity-set-PEP517_SOURCE_PATH.patch
new file mode 100644
index 00000000..ee37bc81
--- /dev/null
+++ b/recipes-containers/criu/files/0001-crit-explicity-set-PEP517_SOURCE_PATH.patch
@@ -0,0 +1,32 @@
1From 0af358f8ae5e671d78e3de32a2d26bb3cf2c23f8 Mon Sep 17 00:00:00 2001
2From: Bruce Ashfield <bruce.ashfield@gmail.com>
3Date: Thu, 3 Apr 2025 17:08:01 +0000
4Subject: [PATCH] crit: explicity set PEP517_SOURCE_PATH
5
6Similarly to the ./lib build, we need to explicitly set
7this to avoid pyproject.toml errors during the build (the
8project file cannot be found)
9
10Upstream-Status: Inappropriate [oe specific]
11
12Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
13---
14 crit/Makefile | 3 +++
15 1 file changed, 3 insertions(+)
16
17diff --git a/crit/Makefile b/crit/Makefile
18index 90f0ee635..329c7e85c 100644
19--- a/crit/Makefile
20+++ b/crit/Makefile
21@@ -1,5 +1,8 @@
22 VERSION_FILE := $(if $(obj),$(addprefix $(obj)/,crit/version.py),crit/version.py)
23
24+PEP517_SOURCE_PATH := ./crit
25+PEP517_BUILD_OPTS :=
26+
27 all-y += ${VERSION_FILE}
28 cleanup-y += ${VERSION_FILE}
29
30--
312.43.0
32