All of lore.kernel.org
 help / color / mirror / Atom feed
* Building a clean image without using sstate-cache
@ 2020-07-06  8:08 Shlomi Vaknin
  2020-07-06  8:54 ` [yocto] " Quentin Schulz
  0 siblings, 1 reply; 2+ messages in thread
From: Shlomi Vaknin @ 2020-07-06  8:08 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 524 bytes --]

Hi,

I'm trying to run a clean build without using the sstate-cache shared
directory, so we can check that everything is working properly and also
update our sstate-cache shared folder every now and then.

I have the SSTATE_MIRRORS defined in my site.conf using "?=" operator.

When I try to export this variable as empty string and then build the
image, the image is built using the cache.

How can I override the SSTATE_MIRRORS when running bitbake or run a clean
build without using sstate-cache?

Thanks!

[-- Attachment #2: Type: text/html, Size: 776 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [yocto] Building a clean image without using sstate-cache
  2020-07-06  8:08 Building a clean image without using sstate-cache Shlomi Vaknin
@ 2020-07-06  8:54 ` Quentin Schulz
  0 siblings, 0 replies; 2+ messages in thread
From: Quentin Schulz @ 2020-07-06  8:54 UTC (permalink / raw)
  To: Shlomi Vaknin; +Cc: yocto

Hi,

On Mon, Jul 06, 2020 at 11:08:31AM +0300, Shlomi Vaknin wrote:
> Hi,
> 
> I'm trying to run a clean build without using the sstate-cache shared
> directory, so we can check that everything is working properly and also
> update our sstate-cache shared folder every now and then.
> 
> I have the SSTATE_MIRRORS defined in my site.conf using "?=" operator.
> 
> When I try to export this variable as empty string and then build the
> image, the image is built using the cache.
> 
> How can I override the SSTATE_MIRRORS when running bitbake or run a clean
> build without using sstate-cache?
> 

IIUC, SSTATE_MIRRORS is just a way to prepopulate your local sstate-cache.
So you'd need to have SSTATE_MIRRORS="" but also change SSTATE_DIR to some
path where no sstate-cache is so that the local sstate-cache isn't also
used.

Quentin

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-07-06  8:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-06  8:08 Building a clean image without using sstate-cache Shlomi Vaknin
2020-07-06  8:54 ` [yocto] " Quentin Schulz

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.