summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/conf/fragments/yocto/sstate-mirror-cdn.conf12
1 files changed, 12 insertions, 0 deletions
diff --git a/meta/conf/fragments/yocto/sstate-mirror-cdn.conf b/meta/conf/fragments/yocto/sstate-mirror-cdn.conf
new file mode 100644
index 0000000000..e204975ce3
--- /dev/null
+++ b/meta/conf/fragments/yocto/sstate-mirror-cdn.conf
@@ -0,0 +1,12 @@
1BB_CONF_FRAGMENT_SUMMARY = "Use prebuilt sstate artifacts for standard Yocto build configurations."
2BB_CONF_FRAGMENT_DESCRIPTION = "The Yocto Project has prebuilt artefacts available for standard build configurations. \
3This fragment enables their use. This will mean the build will query the \
4the network to check for artefacts at the start of builds, which does slow it down \
5initially but it will then speed up the builds by not having to build things if they are \
6present in the cache. It assumes you can download something faster than you can build it \
7which will depend on your network. \
8Note: For this to work you also need hash-equivalence passthrough to the matching server \
9"
10
11BB_HASHSERVE_UPSTREAM = 'wss://hashserv.yoctoproject.org/ws'
12SSTATE_MIRRORS ?= "file://.* http://sstate.yoctoproject.org/all/PATH;downloadfilename=PATH"