From ffa5f611925a0eef7a18ed3ce461f88424604afd Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Thu, 5 Feb 2026 20:44:18 +0000 Subject: 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 --- classes/sanity-meta-virt.bbclass | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'classes') 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.") addhandler vcontainer_sanity_check vcontainer_sanity_check[eventmask] = "bb.event.SanityCheck" python vcontainer_sanity_check() { + # Only run for main multiconfig (avoid duplicate messages) + mc = e.data.getVar('BB_CURRENT_MC') or '' + if mc != '': + return + skip_check = e.data.getVar('SKIP_META_VIRT_SANITY_CHECK') == "1" if skip_check: return -- cgit v1.2.3-54-g00ecf