diff options
author | Alexander Kanavin <alex@linutronix.de> | 2025-06-03 13:35:57 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-06-05 11:02:22 +0100 |
commit | 5de314ddb3d73731a3539e22d38e3a552a76abec (patch) | |
tree | 997e0f3b5f557cf6540351b39581c412978a744b /meta | |
parent | 0c7dc5bae14e9468cdc0ee08bff5be26518e43a1 (diff) | |
download | poky-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.conf | 12 |
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 @@ | |||
1 | BB_CONF_FRAGMENT_SUMMARY = "Use prebuilt sstate artifacts for standard Yocto build configurations." | ||
2 | BB_CONF_FRAGMENT_DESCRIPTION = "The Yocto Project has prebuilt artefacts available for standard build configurations. \ | ||
3 | This fragment enables their use. This will mean the build will query the \ | ||
4 | the network to check for artefacts at the start of builds, which does slow it down \ | ||
5 | initially but it will then speed up the builds by not having to build things if they are \ | ||
6 | present in the cache. It assumes you can download something faster than you can build it \ | ||
7 | which will depend on your network. \ | ||
8 | Note: For this to work you also need hash-equivalence passthrough to the matching server \ | ||
9 | " | ||
10 | |||
11 | BB_HASHSERVE_UPSTREAM = 'wss://hashserv.yoctoproject.org/ws' | ||
12 | SSTATE_MIRRORS ?= "file://.* http://sstate.yoctoproject.org/all/PATH;downloadfilename=PATH" | ||