diff options
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.patch | 32 |
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 @@ | |||
1 | From 0af358f8ae5e671d78e3de32a2d26bb3cf2c23f8 Mon Sep 17 00:00:00 2001 | ||
2 | From: Bruce Ashfield <bruce.ashfield@gmail.com> | ||
3 | Date: Thu, 3 Apr 2025 17:08:01 +0000 | ||
4 | Subject: [PATCH] crit: explicity set PEP517_SOURCE_PATH | ||
5 | |||
6 | Similarly to the ./lib build, we need to explicitly set | ||
7 | this to avoid pyproject.toml errors during the build (the | ||
8 | project file cannot be found) | ||
9 | |||
10 | Upstream-Status: Inappropriate [oe specific] | ||
11 | |||
12 | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> | ||
13 | --- | ||
14 | crit/Makefile | 3 +++ | ||
15 | 1 file changed, 3 insertions(+) | ||
16 | |||
17 | diff --git a/crit/Makefile b/crit/Makefile | ||
18 | index 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 | -- | ||
31 | 2.43.0 | ||
32 | |||