On Mon, Jan 30, 2023 at 11:02:25AM -0600, Ryan Eatmon via 
lists.yoctoproject.org wrote:
> 
> 
> On 1/30/2023 9:20, Jose Quaresma wrote:
> >This patch adds the possibility to change some bitbake variable
> >that cannot be changed anywhere else, one of then is the TMPDIR.
> >
> >Using the same TMPDIR it is very sensitive and prone to several errors
> >when used in more complex situations.
> >This configuration forces that all native packages have to be the same 
> >between all
> >machines and this requirement is very easy to break.
> >Suppose you use a macinhe override somewhere on a native recipe

Even w/o multiconfig, this will break for multi-machine builds. Native 
packages are for the build host and have no knowledge about the target. 
You should probably look into cross packages instead of native ones for 
this use case.

Altering native packages between different targets will cause them to 
rebuild, which they shouldn't. Moreover, it will mess up your sstate 
and lead to weird issues down the road when trying to re-use your 
sstate mirror/cache.


> >and this requirement is no longer met.
> >Many of these anomalies can be verified with the use of the rm_work and
> >create-spdx bitbake classes.
> >
> >A previous attempt [1] had already been made but was refused
> >but this way it can be done without side effects for other users.
> >
> >[1] https://lists.yoctoproject.org/g/meta-ti/message/14767
> 
> 
> So the difference between this patch and the previous one, is that
> you are now included a file that is not there normally so that you
> can put the contents of the previous patch in the new include file
> to get around the issue in the archiver.
> 
> I'm not saying I'm opposed to this approach (yet), I'm just trying
> to understand the entire story.
> 
> Did you find anything in looking at fixing the archiver to better
> support the multi-config issue?
> 
> 
> 
> >Signed-off-by: Jose Quaresma <jose.quare...@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..b69c5d6d 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"
> >+
> >+include conf/multiconfig/k3r5.inc
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#15702): 
https://lists.yoctoproject.org/g/meta-ti/message/15702
Mute This Topic: https://lists.yoctoproject.org/mt/96629864/21656
Group Owner: meta-ti+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to