umoci is really only a host tool (in the system testing),
which is why only the class native trimpath was applied.

Are you actually using it on the target ?

Bruce

In message: [meta-virtualization] [PATCH] umoci: Remove the buildpath issue
on 08/10/2023 Yu, Mingli wrote:

> From: Mingli Yu <mingli...@windriver.com>
> 
> 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...@windriver.com>
> ---
>  recipes-containers/umoci/umoci_git.bb | 1 +
>  1 file changed, 1 insertion(+)
> 
> 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() {
>  
>      export GO111MODULE=off
>  
> +    export BUILD_FLAGS="-trimpath"
>      cd ${S}
>  
>      oe_runmake umoci
> -- 
> 2.25.1
> 

> 
> 
> 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#8341): 
https://lists.yoctoproject.org/g/meta-virtualization/message/8341
Mute This Topic: https://lists.yoctoproject.org/mt/101829789/21656
Group Owner: meta-virtualization+ow...@lists.yoctoproject.org
Unsubscribe: 
https://lists.yoctoproject.org/g/meta-virtualization/leave/6693005/21656/1014668956/xyzzy
 [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to