* [PATCH] umoci: Remove the buildpath issue
@ 2023-10-08 8:02 mingli.yu
2023-10-09 12:06 ` [meta-virtualization] " Bruce Ashfield
2023-10-11 18:53 ` Bruce Ashfield
0 siblings, 2 replies; 3+ messages in thread
From: mingli.yu @ 2023-10-08 8:02 UTC (permalink / raw)
To: meta-virtualization
From: Mingli Yu <mingli.yu@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.yu@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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [meta-virtualization] [PATCH] umoci: Remove the buildpath issue
2023-10-08 8:02 [PATCH] umoci: Remove the buildpath issue mingli.yu
@ 2023-10-09 12:06 ` Bruce Ashfield
2023-10-11 18:53 ` Bruce Ashfield
1 sibling, 0 replies; 3+ messages in thread
From: Bruce Ashfield @ 2023-10-09 12:06 UTC (permalink / raw)
To: Yu, Mingli; +Cc: meta-virtualization
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.yu@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.yu@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 (#8340): https://lists.yoctoproject.org/g/meta-virtualization/message/8340
> Mute This Topic: https://lists.yoctoproject.org/mt/101829789/1050810
> Group Owner: meta-virtualization+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [bruce.ashfield@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [meta-virtualization] [PATCH] umoci: Remove the buildpath issue
2023-10-08 8:02 [PATCH] umoci: Remove the buildpath issue mingli.yu
2023-10-09 12:06 ` [meta-virtualization] " Bruce Ashfield
@ 2023-10-11 18:53 ` Bruce Ashfield
1 sibling, 0 replies; 3+ messages in thread
From: Bruce Ashfield @ 2023-10-11 18:53 UTC (permalink / raw)
To: Yu, Mingli; +Cc: meta-virtualization
In message: [meta-virtualization] [PATCH] umoci: Remove the buildpath issue
on 08/10/2023 Yu, Mingli wrote:
> From: Mingli Yu <mingli.yu@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.yu@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 (#8340): https://lists.yoctoproject.org/g/meta-virtualization/message/8340
> Mute This Topic: https://lists.yoctoproject.org/mt/101829789/1050810
> Group Owner: meta-virtualization+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [bruce.ashfield@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-10-11 18:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-08 8:02 [PATCH] umoci: Remove the buildpath issue mingli.yu
2023-10-09 12:06 ` [meta-virtualization] " Bruce Ashfield
2023-10-11 18:53 ` Bruce Ashfield
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.