summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kanavin <alex@linutronix.de>2025-10-02 12:09:29 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-10-04 21:33:32 +0100
commita769c26226cc68fba744f5e12a804ae46f103779 (patch)
tree16c727858a036f1d01a459ef99c58c9bd52b5303
parentb45ac5f98bbb766fe393045f6a86a1e7db03057c (diff)
downloadpoky-a769c26226cc68fba744f5e12a804ae46f103779.tar.gz
bitbake: bitbake: registry: make a separate configuration for poky with sstate mirror
Using sstate mirror places much higher requirements on both network robustness and network bandwidth than just fetching source code. When the network doesn't meet those, the user experience can be very frustrating as errors can be cryptic and intermittent, or bitbake would just seemingly do nothing for a long time. Let's make sstate an opt-in, and provide a caution for using it. When it does work, it works wonderfully and does accelerate builds significantly. (Bitbake rev: 9ac11955b8ee5a0cc964ef62d881ec6564b24a48) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/default-registry/configurations/poky-master.conf.json14
1 files changed, 11 insertions, 3 deletions
diff --git a/bitbake/default-registry/configurations/poky-master.conf.json b/bitbake/default-registry/configurations/poky-master.conf.json
index 3f12991799..60531ba024 100644
--- a/bitbake/default-registry/configurations/poky-master.conf.json
+++ b/bitbake/default-registry/configurations/poky-master.conf.json
@@ -53,10 +53,7 @@
53 "bitbake-setup": { 53 "bitbake-setup": {
54 "configurations": [ 54 "configurations": [
55 { 55 {
56 "name": "poky",
57 "description": "Poky - The Yocto Project testing distribution",
58 "bb-layers": ["openembedded-core/meta","meta-yocto/meta-yocto-bsp","meta-yocto/meta-poky"], 56 "bb-layers": ["openembedded-core/meta","meta-yocto/meta-yocto-bsp","meta-yocto/meta-poky"],
59 "oe-fragments": ["core/yocto/sstate-mirror-cdn"],
60 "oe-fragments-one-of": { 57 "oe-fragments-one-of": {
61 "machine": { 58 "machine": {
62 "description": "Target machines", 59 "description": "Target machines",
@@ -66,7 +63,18 @@
66 "description": "Distribution configuration variants", 63 "description": "Distribution configuration variants",
67 "options" : ["distro/poky", "distro/poky-altcfg", "distro/poky-tiny"] 64 "options" : ["distro/poky", "distro/poky-altcfg", "distro/poky-tiny"]
68 } 65 }
66 },
67 "configurations": [
68 {
69 "name": "poky",
70 "description": "Poky - The Yocto Project testing distribution"
71 },
72 {
73 "name": "poky-with-sstate",
74 "description": "Poky - The Yocto Project testing distribution with internet sstate acceleration. Use with caution as it requires a completely robust local network with sufficient bandwidth.",
75 "oe-fragments": ["core/yocto/sstate-mirror-cdn"]
69 } 76 }
77 ]
70 } 78 }
71 ] 79 ]
72 }, 80 },