From: Bruce Ashfield <bruce.ashfield@gmail.com>
To: "Yu, Mingli" <mingli.yu@eng.windriver.com>
Cc: meta-virtualization@lists.yoctoproject.org
Subject: Re: [meta-virtualization] [PATCH] umoci: Remove the buildpath issue
Date: Mon, 9 Oct 2023 08:06:19 -0400 [thread overview]
Message-ID: <ZSPsu9qH1ySRKhBJ@gmail.com> (raw)
In-Reply-To: <20231008080259.3346765-1-mingli.yu@windriver.com>
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]
> -=-=-=-=-=-=-=-=-=-=-=-
>
next prev parent reply other threads:[~2023-10-09 12:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-08 8:02 [PATCH] umoci: Remove the buildpath issue mingli.yu
2023-10-09 12:06 ` Bruce Ashfield [this message]
2023-10-11 18:53 ` [meta-virtualization] " Bruce Ashfield
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZSPsu9qH1ySRKhBJ@gmail.com \
--to=bruce.ashfield@gmail.com \
--cc=meta-virtualization@lists.yoctoproject.org \
--cc=mingli.yu@eng.windriver.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.