All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denis@denix.org>
To: Jose Quaresma <quaresma.jose@gmail.com>
Cc: meta-ti@lists.yoctoproject.org,
	Jose Quaresma <jose.quaresma@foundries.io>
Subject: Re: [meta-ti] [PATCH] multiconfig: use diferent TMPDIR for each machine
Date: Tue, 31 May 2022 15:33:02 -0400	[thread overview]
Message-ID: <20220531193302.GC9834@denix.org> (raw)
In-Reply-To: <20220530143810.4064720-1-jose.quaresma@foundries.io>

On Mon, May 30, 2022 at 03:38:10PM +0100, Jose Quaresma wrote:
> Bitbake manual [1] recomends to use one TMPDIR for each machine:
> 
>  "Minimally, each configuration file must define the machine and the
>  temporary directory BitBake uses for the build.
>  Suggested practice dictates that you do not overlap the temporary
>  directories used during the builds."

What specific issue are you trying to fix with this?

I'm not aware of any immediate issues (because here multiconfig is used for 
completely separate machines and those are well isolated inside the temp dir), 
but I see few problems this will cause down the road, so I'm against this 
change.


> [1] https://docs.yoctoproject.org/bitbake/bitbake-user-manual/bitbake-user-manual-intro.html#executing-a-multiple-configuration-build
> 
> Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
> ---
>  meta-ti-bsp/conf/multiconfig/k3r5.conf | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/meta-ti-bsp/conf/multiconfig/k3r5.conf b/meta-ti-bsp/conf/multiconfig/k3r5.conf
> index deb07210..0ba163ae 100644
> --- a/meta-ti-bsp/conf/multiconfig/k3r5.conf
> +++ b/meta-ti-bsp/conf/multiconfig/k3r5.conf
> @@ -3,3 +3,5 @@ MAINMACHINE := "${MACHINE}"
>  DEPLOY_DIR_IMAGE = "${DEPLOY_DIR}/images/${MAINMACHINE}"
>  
>  MACHINE:append = "-k3r5"
> +
> +TMPDIR = "${TOPDIR}/tmp-${MACHINE}"
> -- 
> 2.36.1


  reply	other threads:[~2022-05-31 19:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-30 14:38 [PATCH] multiconfig: use diferent TMPDIR for each machine Jose Quaresma
2022-05-31 19:33 ` Denys Dmytriyenko [this message]
2022-06-01  9:16   ` [meta-ti] " Jose Quaresma
2022-06-01 16:32     ` Christopher Larson
2022-06-01 16:48       ` Denys Dmytriyenko
2022-06-02 13:35         ` Jose Quaresma

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=20220531193302.GC9834@denix.org \
    --to=denis@denix.org \
    --cc=jose.quaresma@foundries.io \
    --cc=meta-ti@lists.yoctoproject.org \
    --cc=quaresma.jose@gmail.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.