diff options
| author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2026-02-09 19:21:30 +0000 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2026-02-09 20:03:27 +0000 |
| commit | 9ba68c94cec4959e20700183f1b1b57cb5151989 (patch) | |
| tree | 0668a570e1d9e50a4221b2d2fa11b0625534d280 /conf/distro/include/vruntime-bbmask-meta-oe.inc | |
| parent | d79d3d2a449054b700f66fe04532f11c1c72c65a (diff) | |
| download | meta-virtualization-9ba68c94cec4959e20700183f1b1b57cb5151989.tar.gz | |
vruntime: add BBMASK to reduce multiconfig parse time
The vruntime multiconfigs (vruntime-aarch64, vruntime-x86-64) trigger
a full BitBake parse of all layers, but only need ~318 recipes to build
the vdkr/vpdmn container runtime stacks. BBMASK set in the vruntime
distro conf only affects parsing for those multiconfigs; the main build
is unaffected.
Add three .inc files, each independently disableable, that mask unused
recipes:
- vruntime-bbmask.inc: meta-virtualization layer (~88 masks covering
virtualization platforms, unused container orchestration/tooling,
and individual go libraries)
- vruntime-bbmask-oe-core.inc: oe-core graphics subdirs, multimedia,
sato, and rt categories
- vruntime-bbmask-meta-oe.inc: meta-oe, meta-networking categories,
plus entire meta-python, meta-filesystems, and meta-webserver layers
Mask patterns were generated from bitbake -g dependency graph analysis
of both aarch64 and x86-64 targets, with all 318 needed PNs (including
-native variants) cross-checked against the patterns. Orphaned bbappend
files in other layers are also masked to prevent parse errors.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'conf/distro/include/vruntime-bbmask-meta-oe.inc')
| -rw-r--r-- | conf/distro/include/vruntime-bbmask-meta-oe.inc | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/conf/distro/include/vruntime-bbmask-meta-oe.inc b/conf/distro/include/vruntime-bbmask-meta-oe.inc new file mode 100644 index 00000000..a2e2e77f --- /dev/null +++ b/conf/distro/include/vruntime-bbmask-meta-oe.inc | |||
| @@ -0,0 +1,53 @@ | |||
| 1 | # SPDX-FileCopyrightText: Copyright (C) 2025 Bruce Ashfield | ||
| 2 | # | ||
| 3 | # SPDX-License-Identifier: MIT | ||
| 4 | # | ||
| 5 | # BBMASK for meta-openembedded sublayers in vruntime multiconfig builds. | ||
| 6 | # | ||
| 7 | # Masks recipe categories with zero recipes in the vruntime dependency | ||
| 8 | # graph (verified via bitbake -g). | ||
| 9 | # | ||
| 10 | # KEPT from meta-oe: | ||
| 11 | # recipes-devtools (abseil-cpp, jsoncpp, protobuf, yajl) | ||
| 12 | # recipes-extended (jansson) | ||
| 13 | # recipes-support (lvm2) | ||
| 14 | # KEPT from meta-networking: | ||
| 15 | # recipes-filter (nftables, libnftnl) | ||
| 16 | # recipes-support (bridge-utils) | ||
| 17 | # KEPT from meta-filesystems: NONE (entire layer masked) | ||
| 18 | # KEPT from meta-python: NONE (entire layer masked) | ||
| 19 | # KEPT from meta-webserver: NONE (entire layer masked) | ||
| 20 | |||
| 21 | # --------------------------------------------------------------------------- | ||
| 22 | # meta-oe: mask all categories except devtools, extended, support | ||
| 23 | # Uses negative lookahead to keep the three needed categories | ||
| 24 | # --------------------------------------------------------------------------- | ||
| 25 | BBMASK += "meta-oe/recipes-(?!devtools|extended|support)" | ||
| 26 | |||
| 27 | # --------------------------------------------------------------------------- | ||
| 28 | # meta-networking: mask all categories except filter, support | ||
| 29 | # --------------------------------------------------------------------------- | ||
| 30 | BBMASK += "meta-networking/recipes-(?!filter|support)" | ||
| 31 | |||
| 32 | # --------------------------------------------------------------------------- | ||
| 33 | # meta-filesystems: entire layer (0 recipes in dependency graph) | ||
| 34 | # --------------------------------------------------------------------------- | ||
| 35 | BBMASK += "meta-filesystems/" | ||
| 36 | |||
| 37 | # --------------------------------------------------------------------------- | ||
| 38 | # meta-python: entire layer (0 recipes in dependency graph) | ||
| 39 | # --------------------------------------------------------------------------- | ||
| 40 | BBMASK += "meta-python/" | ||
| 41 | |||
| 42 | # --------------------------------------------------------------------------- | ||
| 43 | # meta-webserver: entire layer (0 recipes in dependency graph) | ||
| 44 | # --------------------------------------------------------------------------- | ||
| 45 | BBMASK += "meta-webserver/" | ||
| 46 | |||
| 47 | # --------------------------------------------------------------------------- | ||
| 48 | # Orphaned bbappends in other layers (base recipes masked above) | ||
| 49 | # --------------------------------------------------------------------------- | ||
| 50 | # meta-openstack bbappend for meta-oe postgresql (recipes-dbs masked) | ||
| 51 | BBMASK += "meta-openstack/recipes-dbs/postgresql/" | ||
| 52 | # meta-oe dynamic-layers bbappend for meta-networking packagegroup (recipes-core masked) | ||
| 53 | BBMASK += "meta-oe/dynamic-layers/networking-layer/recipes-core/" | ||
