diff options
| author | Mingli Yu <mingli.yu@windriver.com> | 2023-10-08 16:02:59 +0800 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2023-11-06 16:21:12 +0000 |
| commit | 5cec30aae48fe5ae1d04152e6834d03b520100f8 (patch) | |
| tree | 6c1dd062c0298555cbac9b11c825e66766b3db1d | |
| parent | 01da1f2a291cc1ddece9480cbc2244eb87ce20c6 (diff) | |
| download | meta-virtualization-5cec30aae48fe5ae1d04152e6834d03b520100f8.tar.gz | |
umoci: Remove the buildpath issue
Pass -trimpath to the build to fix the below build path issue:
WARNING: umoci-v0.4.7+git-r0 do_package_qa: QA Issue: File /usr/sbin/umoci in package umoci contains reference to TMPDIR [buildpaths]
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
| -rw-r--r-- | recipes-containers/umoci/umoci_git.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-containers/umoci/umoci_git.bb b/recipes-containers/umoci/umoci_git.bb index feaf6dff..e2116892 100644 --- a/recipes-containers/umoci/umoci_git.bb +++ b/recipes-containers/umoci/umoci_git.bb | |||
| @@ -68,6 +68,7 @@ do_compile() { | |||
| 68 | 68 | ||
| 69 | export GO111MODULE=off | 69 | export GO111MODULE=off |
| 70 | 70 | ||
| 71 | export BUILD_FLAGS="-trimpath" | ||
| 71 | cd ${S} | 72 | cd ${S} |
| 72 | 73 | ||
| 73 | oe_runmake umoci | 74 | oe_runmake umoci |
