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
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#49882): https://lists.yoctoproject.org/g/yocto/message/49882 Mute This Topic: https://lists.yoctoproject.org/mt/75328840/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
