summaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2026-02-05 20:44:18 +0000
committerBruce Ashfield <bruce.ashfield@gmail.com>2026-02-09 03:34:12 +0000
commitffa5f611925a0eef7a18ed3ce461f88424604afd (patch)
treeffa03f549729117c87429cf348687998251253bc /classes
parent5063d6f0e9e25a8bde17bd3b89ee3f0f88b5f85b (diff)
downloadmeta-virtualization-ffa5f611925a0eef7a18ed3ce461f88424604afd.tar.gz
vcontainer-tarball: build all architectures via single bitbake command
Previously, building vcontainer-tarball required multiple bitbake invocations or complex command lines to build both x86_64 and aarch64 blobs. This was a usability issue. Changes: - mcdepends now triggers builds for BOTH architectures automatically - VCONTAINER_ARCHITECTURES defaults to "x86_64 aarch64" (was auto-detect) - Add informational banner at parse time showing what will be built - Fix duplicate sanity check messages when multiconfig is active Usage is now simply: bitbake vcontainer-tarball To build only one architecture, set in local.conf: VCONTAINER_ARCHITECTURES = "x86_64" Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'classes')
-rw-r--r--classes/sanity-meta-virt.bbclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/classes/sanity-meta-virt.bbclass b/classes/sanity-meta-virt.bbclass
index 3327a8ac..718b6620 100644
--- a/classes/sanity-meta-virt.bbclass
+++ b/classes/sanity-meta-virt.bbclass
@@ -13,6 +13,11 @@ virtualization support.")
13addhandler vcontainer_sanity_check 13addhandler vcontainer_sanity_check
14vcontainer_sanity_check[eventmask] = "bb.event.SanityCheck" 14vcontainer_sanity_check[eventmask] = "bb.event.SanityCheck"
15python vcontainer_sanity_check() { 15python vcontainer_sanity_check() {
16 # Only run for main multiconfig (avoid duplicate messages)
17 mc = e.data.getVar('BB_CURRENT_MC') or ''
18 if mc != '':
19 return
20
16 skip_check = e.data.getVar('SKIP_META_VIRT_SANITY_CHECK') == "1" 21 skip_check = e.data.getVar('SKIP_META_VIRT_SANITY_CHECK') == "1"
17 if skip_check: 22 if skip_check:
18 return 23 return