Skip to contentSkip to conversation

How to share buildhistory?

DISCUSSION Mauro Ziliani 2 participants 2 messages Jan 16, 2019

lore
Share & tools
lore
#0 lore raw

Hi all.

I'm working with imx6dlsabresd and krogoth with 2 pc (PC1, PC2) which commit the sources in  the same git repository

I need to share buildhistory between PC1 and PC2.

That is:

- I build app_1.0.bb on PC1 and I get app_1.0-r0.3_armhf.deb

- I commit/push from PC1 to the git repos.

- In PC2 I pull from git repos

- I bitbake app_1.0.bb and I would get app_1.0-r0.4_armhf.deb

Is it possible to do that?

Often I work with PC1 placed in my office, sometimes I need to keep on the development with PC2, placed in my customer's office.

But I need to continue on PC2 where I stopped with PC1

Best regards,

 MZ

#1 lore raw
Quoted 6 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Mauro Ziliani
Sent: 16 January 2019 15:31
To: [email protected]
Subject: [yocto] How to share buildhistory?

[snip]

Quoted 9 lines

Is it possible to do that?

Often I work with PC1 placed in my office, sometimes I need to keep on the development with PC2, placed in my customer's office.

But I need to continue on PC2 where I stopped with PC1

It is not quite what you describe but you can use SSTATE_MIRRORS [1] to use cached data objects on the other PC. So if you pointed the mirror on PC2 at PC1, PC2 would check the cache on PC1 before building it locally.

[1] https://www.yoctoproject.org/docs/2.6/ref-manual/ref-manual.html#var-SSTATE_MIRRORS

Regards

Steve