summaryrefslogtreecommitdiffstats
path: root/recipes-containers/oci-runtime-tools/files/0001-build-use-for-cross-compiler.patch
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2022-09-14 20:34:11 -0400
committerBruce Ashfield <bruce.ashfield@gmail.com>2022-09-14 20:34:11 -0400
commit1242b97f7f488180554dabc65a1d5c5e140a5876 (patch)
tree7bc64eba969610691fcab8546e86d20ff5435322 /recipes-containers/oci-runtime-tools/files/0001-build-use-for-cross-compiler.patch
parent26f698cdb8881bc395ef679776d7987c7db1c0e8 (diff)
downloadmeta-virtualization-1242b97f7f488180554dabc65a1d5c5e140a5876.tar.gz
oci-runtime-tools: fix TMPDIR references
The structure of the source code layout that was used by this recipe required symlinking subirectories of the source into a location that would be searched by go. While this fixes the build, and produces a working binary, go stores the location into the binary itself. Those stored paths reference the build directory, making the result not reproducible. With this change, we create an alternate structure that doesn't require symlinking and allows go to find the components during build. This results in a simpler recipe and binaries without TMPDIR references. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-containers/oci-runtime-tools/files/0001-build-use-for-cross-compiler.patch')
-rw-r--r--recipes-containers/oci-runtime-tools/files/0001-build-use-for-cross-compiler.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/recipes-containers/oci-runtime-tools/files/0001-build-use-for-cross-compiler.patch b/recipes-containers/oci-runtime-tools/files/0001-build-use-for-cross-compiler.patch
index 98194265..1c4addab 100644
--- a/recipes-containers/oci-runtime-tools/files/0001-build-use-for-cross-compiler.patch
+++ b/recipes-containers/oci-runtime-tools/files/0001-build-use-for-cross-compiler.patch
@@ -5,13 +5,13 @@ Subject: [PATCH] build: use for cross compiler
5 5
6Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> 6Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
7--- 7---
8 a/src/import/Makefile | 4 ++-- 8 a/Makefile | 4 ++--
9 1 file changed, 2 insertions(+), 2 deletions(-) 9 1 file changed, 2 insertions(+), 2 deletions(-)
10 10
11Index: oci-runtime-tools-0.9.0+gitAUTOINC+0105384f68/src/import/Makefile 11Index: oci-runtime-tools-0.9.0+gitAUTOINC+0105384f68/Makefile
12=================================================================== 12===================================================================
13--- oci-runtime-tools-0.9.0+gitAUTOINC+0105384f68.orig/src/import/Makefile 13--- oci-runtime-tools-0.9.0+gitAUTOINC+0105384f68.orig/Makefile
14+++ oci-runtime-tools-0.9.0+gitAUTOINC+0105384f68/src/import/Makefile 14+++ oci-runtime-tools-0.9.0+gitAUTOINC+0105384f68/Makefile
15@@ -13,11 +13,11 @@ 15@@ -13,11 +13,11 @@
16 all: tool runtimetest validation-executables 16 all: tool runtimetest validation-executables
17 17