summaryrefslogtreecommitdiffstats
path: root/conf/distro/include/vruntime-bbmask-oe-core.inc
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2026-02-09 19:21:30 +0000
committerBruce Ashfield <bruce.ashfield@gmail.com>2026-02-09 20:03:27 +0000
commit9ba68c94cec4959e20700183f1b1b57cb5151989 (patch)
tree0668a570e1d9e50a4221b2d2fa11b0625534d280 /conf/distro/include/vruntime-bbmask-oe-core.inc
parentd79d3d2a449054b700f66fe04532f11c1c72c65a (diff)
downloadmeta-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-oe-core.inc')
-rw-r--r--conf/distro/include/vruntime-bbmask-oe-core.inc41
1 files changed, 41 insertions, 0 deletions
diff --git a/conf/distro/include/vruntime-bbmask-oe-core.inc b/conf/distro/include/vruntime-bbmask-oe-core.inc
new file mode 100644
index 00000000..34db8dd2
--- /dev/null
+++ b/conf/distro/include/vruntime-bbmask-oe-core.inc
@@ -0,0 +1,41 @@
1# SPDX-FileCopyrightText: Copyright (C) 2025 Bruce Ashfield
2#
3# SPDX-License-Identifier: MIT
4#
5# BBMASK for oe-core (meta) layer in vruntime multiconfig builds.
6#
7# Masks entire recipe categories with zero recipes in the vruntime
8# dependency graph (verified via bitbake -g and PN-level cross-check).
9#
10# KEPT: recipes-bsp, recipes-connectivity, recipes-core, recipes-devtools,
11# recipes-extended, recipes-gnome, recipes-kernel, recipes-support
12
13# ---------------------------------------------------------------------------
14# Graphics - mask only subdirs with zero needed recipes (39 of 49 subdirs)
15# Keep: wayland, libsdl2, virglrenderer, libepoxy, drm, mesa, spir,
16# xorg-lib, xorg-proto, xorg-app, xorg-util (qemu-system-native deps)
17# ---------------------------------------------------------------------------
18BBMASK += "/meta/recipes-graphics/(?!wayland|libsdl2|virglrenderer|libepoxy|drm|mesa|spir|xorg-lib|xorg-proto|xorg-app|xorg-util)"
19
20# ---------------------------------------------------------------------------
21# Multimedia - mask all except alsa/ and libpng/ (qemu-system-native deps)
22# ---------------------------------------------------------------------------
23BBMASK += "/meta/recipes-multimedia/(?!alsa|libpng)"
24
25# ---------------------------------------------------------------------------
26# Sato desktop (~25 recipes) - Matchbox, webkit, desktop UI
27# ---------------------------------------------------------------------------
28BBMASK += "/meta/recipes-sato/"
29
30# ---------------------------------------------------------------------------
31# RT kernel (~4 recipes) - Real-time kernel, not needed for containers
32# ---------------------------------------------------------------------------
33BBMASK += "/meta/recipes-rt/"
34
35# ---------------------------------------------------------------------------
36# Orphaned bbappends in other layers (base recipes masked above)
37# ---------------------------------------------------------------------------
38# meta-yocto-bsp bbappend for masked oe-core graphics
39BBMASK += "meta-yocto-bsp/recipes-graphics/xorg-xserver/xserver-xf86-config"
40# meta-erlang bbappend for oe-core mesa (mesa is kept, but libglu not needed)
41BBMASK += "meta-erlang/recipes-graphics/mesa/libglu"