]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
conf/templates/default/local.conf.sample: Document yocto project sstate mirrors
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 24 Mar 2026 17:54:59 +0000 (17:54 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 26 Mar 2026 11:14:46 +0000 (11:14 +0000)
Add information about using the Yocto Project sstate mirrors to the local.conf
template, enabling using the config fragment.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/templates/default/local.conf.sample

index fb6ed2c3bf22b769c5b9c71ea28a35e98a5bcbc7..2a0eea493cc5a1f748fef547426c40db62c3dd6b 100644 (file)
@@ -204,6 +204,16 @@ BB_DISKMON_DIRS ??= "\
 #file://.* https://someserver.tld/share/sstate/PATH;downloadfilename=PATH \
 #file://.* file:///some/local/dir/sstate/PATH"
 
+#
+# Yocto Project SState Mirror
+#
+# The Yocto Project has prebuilt artefacts available for its releases, you can enable
+# by enabling the following config fragment. This will mean the build uses the network to
+# check for artefacts at the start of builds, which does slow it down initially but it
+# will then speed up the builds by not having to build things if they are present in the
+# cache. It assumes you can download something faster than you can build it which will
+# depend on your network.
+# OE_FRAGMENTS += "core/yocto/sstate-mirror-cdn"
 
 #
 # Qemu configuration