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/vruntime.conf | |
| 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/vruntime.conf')
| -rw-r--r-- | conf/distro/vruntime.conf | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/conf/distro/vruntime.conf b/conf/distro/vruntime.conf index a489a7a2..17355361 100644 --- a/conf/distro/vruntime.conf +++ b/conf/distro/vruntime.conf | |||
| @@ -14,6 +14,13 @@ | |||
| 14 | 14 | ||
| 15 | require conf/distro/poky.conf | 15 | require conf/distro/poky.conf |
| 16 | 16 | ||
| 17 | # Mask recipes not needed by vruntime container runtime builds. | ||
| 18 | # Generated from bitbake -g dependency graph analysis. | ||
| 19 | # Each file can be commented out independently to disable masking for that layer. | ||
| 20 | require conf/distro/include/vruntime-bbmask.inc | ||
| 21 | require conf/distro/include/vruntime-bbmask-oe-core.inc | ||
| 22 | require conf/distro/include/vruntime-bbmask-meta-oe.inc | ||
| 23 | |||
| 17 | DISTRO = "vruntime" | 24 | DISTRO = "vruntime" |
| 18 | DISTRO_NAME = "VRuntime Minimal" | 25 | DISTRO_NAME = "VRuntime Minimal" |
| 19 | DISTRO_VERSION = "1.0" | 26 | DISTRO_VERSION = "1.0" |
