diff options
| author | Alexander Kanavin <alex@linutronix.de> | 2025-10-02 12:09:29 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-10-03 17:51:38 +0100 |
| commit | 2207f3f6c1dbeebe901786da4bbcd5f374518ef7 (patch) | |
| tree | b6087dee0e03e9b1990558ba07ae4bd277e3093e | |
| parent | 01dc94ab60b5e3056ffe5a35c0da4a106d96b378 (diff) | |
| download | poky-2207f3f6c1dbeebe901786da4bbcd5f374518ef7.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.json | 14 |
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 | }, |
