summaryrefslogtreecommitdiffstats
path: root/recipes-containers/oci-image-tools/files/0001-tool-respect-GO-and-GOBUILDFLAGS-when-building.patch
Commit message (Collapse)AuthorAgeFilesLines
* oci-image-tools: fix TMPDIR referencesBruce Ashfield2022-09-141-3/+3
| | | | | | | | | | | | | | | | | 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>
* oci-image-tools: use GO flags/compiler from recipeBruce Ashfield2019-10-151-0/+31
The image tools were not building with the oe/cross GO compiler and flags. As such, you could end up with a binary on target with the wong elf interpreter (the host one). With this, we properly use the settings from our build. We also bump the SRCREV to pickup a few minor fixes to the package. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>