Skip to content

Commit

Permalink
ci/base: add the yocto upstream sstate-mirror
Browse files Browse the repository at this point in the history
As the development speed of the Poky master is quite fast,
we can take advantage of the sstate-cahce mirror that is made available.
This brings advantages especially when building the toolchain,
which we do not modify in any way and so we can use the existing one.

The Yocto Project now allows you to reuse the Shared State cache from its autobuilder [1].
If the network connection between our server and your machine is faster than you would build recipes from source,
[1] https://docs.yoctoproject.org/dev/migration-guides/release-notes-4.0.html?highlight=sstate_mirrors#new-features-enhancements-in-4-0

Signed-off-by: Jose Quaresma <[email protected]>
  • Loading branch information
quaresmajose authored and ricardosalveti committed Oct 11, 2024
1 parent d509921 commit 922e7f5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ci/base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,8 @@ local_conf_header:
INHERIT += "buildstats buildstats-summary"
INHERIT += "buildhistory"
INHERIT += "rm_work"
mirror: |
BB_HASHSERVE_UPSTREAM = "hashserv.yocto.io:8687"
SSTATE_MIRRORS = "file://.* http://cdn.jsdelivr.net/yocto/sstate/all/PATH;downloadfilename=PATH"
machine: unset

0 comments on commit 922e7f5

Please sign in to comment.