summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorAlexander Kanavin <alex@linutronix.de>2025-06-03 13:35:57 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-06-05 11:02:22 +0100
commit5de314ddb3d73731a3539e22d38e3a552a76abec (patch)
tree997e0f3b5f557cf6540351b39581c412978a744b /meta
parent0c7dc5bae14e9468cdc0ee08bff5be26518e43a1 (diff)
downloadpoky-5de314ddb3d73731a3539e22d38e3a552a76abec.tar.gz
conf/fragments: add a fragment for CDN sstate mirror
This will be used in bitbake-setup official configurations and it will be awesome. (From OE-Core rev: ee80c4f013052950ebc4107a2aa4f9ffc1b28975) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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"