From patchwork Fri Jul 17 13:34:16 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Woerner X-Patchwork-Id: 92730 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 54C92C4451C for ; Fri, 17 Jul 2026 13:34:42 +0000 (UTC) Received: from mail-ua1-f53.google.com (mail-ua1-f53.google.com [209.85.222.53]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.13731.1784295273008890063 for ; Fri, 17 Jul 2026 06:34:33 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20251104 header.b=CxfSDfyE; spf=pass (domain: gmail.com, ip: 209.85.222.53, mailfrom: twoerner@gmail.com) Received: by mail-ua1-f53.google.com with SMTP id a1e0cc1a2514c-97622cc1f40so3571177241.3 for ; Fri, 17 Jul 2026 06:34:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1784295272; x=1784900072; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=bTXYp5YAiFNEVIhcVF0RPuZrSCAr89IdFG3s8yRr8Vs=; b=CxfSDfyEfMgWZtSoDd5uxRfZHPPcAss65zQNIcZImuExHJSxUOea8RNhVVoLFrBSw3 Wdrg5Ne3VtpQ9dtt27kg99rwz5WSyrx40tuBL9sJEyRzaAyr7V8x7RNlsdlYT6BFNl0/ YWr/H/fBMTIJzDZ/DiKkN10T8Mt39M9xvd/Ep2zR8uIohDvqsmTHJ+9nO3m/1A88csmd Lm0OgExUDDYUheLtBS/JJFzFvy1DPrXOF6+xZKr3F9YxqKf+o2NlWJifU/cArs0WIAUG 7ZDym7aU72z7K7FMt0U9I/jWuzR854VZlQhcGbxPqKhFxh1kHsVGNLIVFMIUzyhWsHWZ 2icw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784295272; x=1784900072; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to:content-type; bh=bTXYp5YAiFNEVIhcVF0RPuZrSCAr89IdFG3s8yRr8Vs=; b=QA3Ke5FNxG5UsXRIAxUrbA+66QAq0s4luqROF9Nk5FRJnaqfwyuc/3SG9da7s979tu aNBACZJN8onfN0h78VWXMx/AImNNjZiaWepKUmUIfQa2lPYYG+PbZLHRVD2AnEWhMGdU IDcLLoJJN5z3NGUSC/mqhGCIoxus5DKPp77yPnx6eMAT9mUETkX/Sv+ksPVIFCM1tkv2 pg6pgijxykqlJv3ei068/CyH8rA6vQisM7rQ0+44sszZsHgY27+m0i2nXr00zj5rBN7o x2GSNMTXky2pINzgCyBoCci/NtMOGclnl90XSE/dfXfzA4FvdFhA2eAH3hXqxhlowovr ltQw== X-Gm-Message-State: AOJu0YzLmBxixZze8YD72eKa3IfsopsmQlxPWQ4aUIwpIYKsVR+TYm0e H6woAHYMGZVQqhlH4zxydjJHe7WOzzg2KILxtbEsm6x+EnMDgxAy6DBgu+aiDg== X-Gm-Gg: AfdE7ckKul8ppK+MAAvhwR7vVPNUL2oeO9redUaxy8I2hOpq7/75UHMfiy2x3ahUKzh B59OIfbJ37as6a+TEnagnnFDUDObBp3tgGUtN7ZLIPciYn2ZGq9zIaLJfYE0n78EE99Ni+ijjHa eNKbjF/EuG8fuIvHvZGUFV4eLQcl/4f4UvKgFtrMRn+/uXjtvBIOVIgRfS5CGfewKvoCmjRgEAQ nfKYufsqVLNnA42dNd+ALIHbRxw9CvO8+rbtex3m++kKUswx+iSl0RWfEdoemVvU/LBqfpoJvDd oNBtquQZ7ysOxnSvKPKd93adaA0qSiVOTKJcdrqpNcw2zFgm3yxJgWFKI7KahR84rIFjGbcWfH0 h8Z4DubruW9i4orMuMbAmZSbhsnRwktqYHrDk3gNkArb/UCcMUjE29VoHPdVF3dQwH+mERt1OP1 9rvzcAHvNyYS/xgcKKkFN+QCGyIsQWFmGg2W5CDDBbc3Pw X-Received: by 2002:a05:6102:5694:b0:738:fd01:5b60 with SMTP id ada2fe7eead31-7475343a577mr579077137.3.1784295271756; Fri, 17 Jul 2026 06:34:31 -0700 (PDT) Received: from localhost.localdomain (pppoe-209-91-167-254.vianet.ca. [209.91.167.254]) by smtp.gmail.com with ESMTPSA id a1e0cc1a2514c-976fc3688e1sm565059241.3.2026.07.17.06.34.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jul 2026 06:34:30 -0700 (PDT) From: Trevor Woerner To: openembedded-core@lists.openembedded.org Subject: [PATCH v3 1/6] wic: add runtime dependencies on the tools it invokes Date: Fri, 17 Jul 2026 09:34:16 -0400 Message-ID: <20260717133421.3510970-2-twoerner@gmail.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20260717133421.3510970-1-twoerner@gmail.com> References: <20260717133421.3510970-1-twoerner@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 17 Jul 2026 13:34:42 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/241183 wic shells out to a number of host-side tools to do its work: parted, mkdosfs, mcopy, the mkfs.* family, sfdisk, e2fsck, resize2fs, debugfs, blkid and more, depending on the operation and on the partition types in the image. None of these are declared as dependencies of wic. For the bitbake do_image_wic task this is handled by the wic-tools recipe, which builds the tools into a native sysroot. Wherever else wic is installed as a package it gets none of them, and its offline lookup (wic ls/cp/write) resolves each tool over a search path that falls back to the host PATH, so on a machine that happens to have the tool installed system-wide wic succeeds while on a machine without it wic fails: wic.WicError: Can't find executable 'mcopy' Falling back to the host is unreliable even when the tool is found: wic depends on specific minimum versions of some of these tools, and an arbitrary host copy may be too old, so wic can pick up a tool that does not behave as it needs. Declaring the tools as dependencies pins known-good versions instead of trusting whatever the host provides. Add the tools wic runs as RDEPENDS so they are installed alongside it. resize2fs is listed on its own because e2fsprogs packages it separately as e2fsprogs-resize2fs, which e2fsprogs does not pull in, and wic needs it for the cp/write resize path. syslinux (with its isohybrid helper) is only available on x86, so it is gated to those hosts; cdrtools (mkisofs) is native-only with no nativesdk variant and is only needed for ISO images, so it is not listed here. AI-Generated: codex/claude-opus 4.8 (xhigh) Signed-off-by: Trevor Woerner --- changes in v3: - list the tools on all variants rather than only the nativesdk variant changes in v2: - merge the tool list from the v1 "wic-tools.inc: add" patch into this recipe as RDEPENDS; the separate .inc is dropped - list the tools inline rather than via a shared WIC_TOOLS variable - note in the commit log that a host tool may also be the wrong version, not merely absent --- meta/recipes-support/wic/wic_0.3.1.bb | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/meta/recipes-support/wic/wic_0.3.1.bb b/meta/recipes-support/wic/wic_0.3.1.bb index d9b4cc05c4bd..0911a2ae35d7 100644 --- a/meta/recipes-support/wic/wic_0.3.1.bb +++ b/meta/recipes-support/wic/wic_0.3.1.bb @@ -17,4 +17,27 @@ RDEPENDS:${PN} += " \ python3-misc \ " +# wic shells out to these host-side tools when it runs, so they must be +# installed alongside it. +RDEPENDS:${PN} += " \ + parted \ + gptfdisk \ + dosfstools \ + mtools \ + bmaptool \ + grub \ + btrfs-tools \ + squashfs-tools \ + e2fsprogs \ + e2fsprogs-resize2fs \ + util-linux \ + tar \ + erofs-utils \ +" + +# syslinux (with its isohybrid helper) is only available on x86. +RDEPENDS:${PN}:append:x86 = " syslinux syslinux-misc" +RDEPENDS:${PN}:append:x86-64 = " syslinux syslinux-misc" +RDEPENDS:${PN}:append:x86-x32 = " syslinux syslinux-misc" + BBCLASSEXTEND = "native nativesdk" From patchwork Fri Jul 17 13:34:17 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Woerner X-Patchwork-Id: 92731 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6390CC44520 for ; Fri, 17 Jul 2026 13:34:42 +0000 (UTC) Received: from mail-ua1-f46.google.com (mail-ua1-f46.google.com [209.85.222.46]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.13735.1784295274927264632 for ; Fri, 17 Jul 2026 06:34:35 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20251104 header.b=mKovVwGn; spf=pass (domain: gmail.com, ip: 209.85.222.46, mailfrom: twoerner@gmail.com) Received: by mail-ua1-f46.google.com with SMTP id a1e0cc1a2514c-9696319e14dso2725302241.3 for ; Fri, 17 Jul 2026 06:34:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1784295274; x=1784900074; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=LMbixBlwElxwtWJTJyI7L88D3tifLNe9vh2wAVJ7ff0=; b=mKovVwGnx6xu+pVRqNG8XJvRNNPBiSu6ljO8mrHAZw8Xv7INW/TwE008GO8QckKR9e gtoZMZnSnECIzLQsJdV+068i6CsPyhdxXRGrRkTxbvq0lHvNA2Bm6NDaAYWKYN8UftEq vjN/WOftn29k/CkrTTRcPinpXWPBVwbuHteRGibrgOJrqTi9nXL8sAVL22p4StdZeRPl ssQHrsGWeJGOxFUFyQLIBJQVYr+kfaevn4fyP7MGYYdmQWOxVkWarOvkE0AN9IAzcunn z6Mvf7yZP4G9AoOaj+FoqhlC9QfvJNFeLasK/wpeB0TxkOiB9VxGRfsLJrjP76YvBLmF rs0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784295274; x=1784900074; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to:content-type; bh=LMbixBlwElxwtWJTJyI7L88D3tifLNe9vh2wAVJ7ff0=; b=qd4a1p3I5Ss1IAj5WixCjDA7dJB5HAbUMiQLZ9HXeOi4Cadz2+osYgQOj1s9c3NR/h 93zr9lafqM+1Z4lgS9VvpIGEvGfn3pVwYTcAIEPCRE4VWb0KBXHj/sw83xW/2iPqqBnE BPV1kHqrwvXRk3+eSCUueTPOISBnX/5ieCCCF4yh4IVFUCDg4vN0fkKZHVm1zuWqGc1u JSZQrSHKkT2M4mxkdJReAyTpB3NK5O+FVARYUro14gIohXUmQTYgZtufoLa+qeLcdY6e Uk4Pe65cHmoNeIhLoKtVb2RtSojo+9n4NGfdwTOBb54qTW/yMV8XVBqDhRekTkg2P7+S 1Xbw== X-Gm-Message-State: AOJu0YxJjYe/HTvA+LFmNT3F+LBr0bHlNZtKpA3AMmJWPrbaMDNUktBa 6oABe6ATQ58n2cAProI6OqZcn5+aq/NfAyU+nQ4TDDvXzVF0ySICwGzaykGpiA== X-Gm-Gg: AfdE7ck4ZbBJp/7I2kYuruptb5WsrC+XGXMjg9+ydgKd/idSB9qLconQBiKYQbHR76R laAVPI21Q7KE2jEt9R6Se5erjjdPHD0UGwJX8YQHQAzvHqF7mtTdLOxXeUENxPCuscLn8wKmypU scW0a8B6FtJklF9SNYhHdNS51dyUpP6TcT4VtjQz7WDgO5PaYZME53dIVIOfY0D52NVynfWixS1 YspwLo77h0AMqg1M1Q8IXW8yRitWab5j2SZHmtefFQ/NBDdyZRR2icQhDNjopBCpF2M/NkON6lh YVfhdIeYPWVv5WkZyVGjiBu1EFRXV+0OfSZDD2hK/rGbvzth5MXy3Bq/vH/PYwTyoPgQXtIIT/h gw5jJwkcLdFMTgtFFyBCz3CoW+6mIfqBF2hmrDj2lMCL8jGXzNXemAE94s4mcNc6t+fXr+UAuwu 4SM08tS+OC21o0ztHruIxctI0Oc3bBcjsfZDN3bgcOvRg4WFqOxKvOqfc= X-Received: by 2002:a05:6102:a46:b0:747:4d96:dbb5 with SMTP id ada2fe7eead31-74753532c7cmr499039137.12.1784295273766; Fri, 17 Jul 2026 06:34:33 -0700 (PDT) Received: from localhost.localdomain (pppoe-209-91-167-254.vianet.ca. [209.91.167.254]) by smtp.gmail.com with ESMTPSA id a1e0cc1a2514c-976fc3688e1sm565059241.3.2026.07.17.06.34.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jul 2026 06:34:32 -0700 (PDT) From: Trevor Woerner To: openembedded-core@lists.openembedded.org Subject: [PATCH v3 2/6] nativesdk-packagegroup-sdk-host: add wic via a new SDK_FEATURES lever Date: Fri, 17 Jul 2026 09:34:17 -0400 Message-ID: <20260717133421.3510970-3-twoerner@gmail.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20260717133421.3510970-1-twoerner@gmail.com> References: <20260717133421.3510970-1-twoerner@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 17 Jul 2026 13:34:42 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/241184 wic is useful from an installed SDK for assembling or inspecting a wic image, but adding it is not free: nativesdk-wic pulls in the tools it runs (parted, gptfdisk, dosfstools, mtools, bmaptool, grub, btrfs-tools, squashfs-tools, e2fsprogs, util-linux, tar, erofs-utils, and syslinux on x86). Most SDKs do not need any of that, so wic should not be in the host packagegroup unconditionally. Introduce SDK_FEATURES, a list of optional additions to the SDK host tools, in the same spirit as DISTRO_FEATURES, MACHINE_FEATURES and IMAGE_FEATURES: a developer reads the setting and knows exactly what is being included. Gate wic in the host packagegroup on the "wic" feature, which is not enabled by default. A configuration that wants wic in its SDK adds the "wic" feature to SDK_FEATURES and gets a working wic, together with the tools it invokes, in the SDK. AI-Generated: codex/claude-opus 4.8 (xhigh) Signed-off-by: Trevor Woerner --- changes in v3: - replace the SDK_INCLUDE_WIC yes/no knob with a new general SDK_FEATURES list; gate wic on the "wic" feature - add the SDK_FEATURES default and documentation.conf entry changes in v2: - gate nativesdk-wic behind a new SDK_INCLUDE_WIC knob (default "no") instead of adding it unconditionally as in v1 --- meta/conf/bitbake.conf | 2 +- meta/conf/documentation.conf | 1 + .../packagegroups/nativesdk-packagegroup-sdk-host.bb | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index bdf37d0da247..b7bc74887b69 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -898,6 +898,7 @@ OES_BITBAKE_CONF = "1" MACHINE_FEATURES:append = " ${@oe.utils.filter_default_features('MACHINE_FEATURES', d)}" SDK_MACHINE_FEATURES ?= "" +SDK_FEATURES ?= "" DISTRO_FEATURES:append = " ${@oe.utils.filter_default_features('DISTRO_FEATURES', d)}" @@ -992,4 +993,3 @@ MULTILIB_VARIANTS ??= "" # what it would be anyway if the signature generator (e.g. OEEquivHash) doesn't # support unihashes. BB_UNIHASH ?= "${BB_TASKHASH}" - diff --git a/meta/conf/documentation.conf b/meta/conf/documentation.conf index 842cf31739de..604c51322813 100644 --- a/meta/conf/documentation.conf +++ b/meta/conf/documentation.conf @@ -361,6 +361,7 @@ SANITY_TESTED_DISTROS[doc] = "A list of the host distribution identifiers that t SDK_ARCH[doc] = "The target architecture for the SDK." SDK_DEPLOY[doc] = "The directory set up and used by the populate_sdk_base to which the SDK is deployed." SDK_DIR[doc] = "The parent directory used by the OpenEmbedded build system when creating SDK output." +SDK_FEATURES[doc] = "The list of optional features to add to the standalone SDK's host tools, for example 'wic'. Analogous to IMAGE_FEATURES but for the SDK host side." SDK_NAME[doc] = "The base name for SDK output files." SDK_OUTPUT[doc] = "The location used by the OpenEmbedded build system when creating SDK output." SDKIMAGE_FEATURES[doc] = "Equivalent to IMAGE_FEATURES. However, this variable applies to the SDK generated from an image using the command 'bitbake -c populate_sdk imagename'." diff --git a/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb b/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb index 51e48f250b19..c2974a57fe3e 100644 --- a/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb +++ b/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb @@ -29,6 +29,7 @@ RDEPENDS:${PN} = "\ nativesdk-bison \ nativesdk-flex \ nativesdk-perl-module-integer \ + ${@bb.utils.contains('SDK_FEATURES', 'wic', 'nativesdk-wic', '', d)} \ " RDEPENDS:${PN}:darwin = "\ From patchwork Fri Jul 17 13:34:18 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Woerner X-Patchwork-Id: 92734 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8D5E5C44521 for ; Fri, 17 Jul 2026 13:34:42 +0000 (UTC) Received: from mail-vs1-f48.google.com (mail-vs1-f48.google.com [209.85.217.48]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.13736.1784295276465903684 for ; Fri, 17 Jul 2026 06:34:36 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20251104 header.b=ImhlF4SP; spf=pass (domain: gmail.com, ip: 209.85.217.48, mailfrom: twoerner@gmail.com) Received: by mail-vs1-f48.google.com with SMTP id ada2fe7eead31-6cf48482ddeso2160027137.2 for ; Fri, 17 Jul 2026 06:34:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1784295275; x=1784900075; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=MdysAh0RTvZZt1vmAeOhRr1h74KZZWBwzKXgDV1QgUw=; b=ImhlF4SPkAt7GLH1Jj7jJkxScuDUP5kiSYuOeNeJsB5gxIbVLDlK1mzwJbOel7dEJA 6UtKMVgWqgkrpZNoVetJID1WU0dQMkthko0JaFEWvKHHG3GjxHhuHRg+mO8/MStgjlDk e9+hAquCfJdD3C7tky6n6QbMjNBdvcNo9qI/pMDwCpspaWODrax4k3RgX8OQFXOTkmff vPu+RbmpnTx6c/s6QvL9sDvXeihBmG2EsmyAhpbWBPwIgjYNXUev95SgHxW7G8vs1oW2 9V8xuzJ27RAD5fZ23csfGC1w1zDlD7dpEbxG+HabQ5/Z22mJX5aevm4GHiQ/p67qzPFJ mMWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784295275; x=1784900075; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to:content-type; bh=MdysAh0RTvZZt1vmAeOhRr1h74KZZWBwzKXgDV1QgUw=; b=GWEUd40Qs0xZ6l4jWNGY0q2AV/8xZkwjlmR0w2nqOeeBNb0XHhln9ZWZR1uQiuMmJm 2ReSbP2DCfa51NuC71UBU1RcQXbwI1IhrHHXN5AfTqNfjpaK07b050FCVmDrhtiVUqCc Ohx/f2RJTkknbYKF3atWpDbDJYN4aVlwUceZefjoQfNhQKwGsharUWqZ4MDgc6g0tMCt nZMlxwKZo7ZwJ2XcGdtOfleN614q//gO99Yf8qf1Qvxomh2vh7tFnkMs/rHit7ksdRyW MYJAmy0t6PDRk3+e9ftXyBFEJcMWBp7hGqph4T+VghHPf7VUDI3HrqdlpxZJHGECp93T 6opA== X-Gm-Message-State: AOJu0YyDTMNJpiG2Ttlw3va+z8EtcPk+a+SFzCleRaCIYtN4qnHsGXc/ pxDDGeK85DnAByI5O9Y+R8QQobjy249AW7ibBOHyJHO442xXBhBxbmy+mJA6wA== X-Gm-Gg: AfdE7cmaAk0IdRSP4wl+488vh8FUqDOV+gPP4tsroqbfqCZa4NWpWfDw0tyhGx4HqN6 iGJrJcl5a4rXevSXKLD2DhLcbx67idyT2JPxxSxX2kDOHnbua/JTUpJVZ1sgADYkeCLgfrZ2Yv3 o2pyTtEpQp+F0v0JF+LKAxUeXi/CqDuGpisXiDs5alTuBtYmY11xzEatX8nj8w1td4PRa6Z1i2P 4ht9UVAN3D0/VLQmUjnMyAUmiYKklQQxoo2ptDf+K008Z/pH/ryMWPI2kG1GELJ9ghf6YCToKBe RPyxGJxIp26fMGWIihoQMbvPO8Mekz+0vG5bSTdKb/SZzVceNDBAWJZ0Rt3mCa5cLBWiAa6vETi kUqiMk5QkZRjn/mpW73xG0dZWShIyMuY8IxOh+X9DgvuX/n6AM/PkRFWDGS7TENGexrmboj6ex2 5OTrr70Gro8wlU+U5FdVJgF0rhKl341M6YEztQuGloBdt6 X-Received: by 2002:a05:6102:3f54:b0:728:53be:7c87 with SMTP id ada2fe7eead31-747534fef2emr478458137.7.1784295275265; Fri, 17 Jul 2026 06:34:35 -0700 (PDT) Received: from localhost.localdomain (pppoe-209-91-167-254.vianet.ca. [209.91.167.254]) by smtp.gmail.com with ESMTPSA id a1e0cc1a2514c-976fc3688e1sm565059241.3.2026.07.17.06.34.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jul 2026 06:34:34 -0700 (PDT) From: Trevor Woerner To: openembedded-core@lists.openembedded.org Subject: [PATCH v3 3/6] nativesdk-packagegroup-sdk-host: gate qemu behind SDK_FEATURES Date: Fri, 17 Jul 2026 09:34:18 -0400 Message-ID: <20260717133421.3510970-4-twoerner@gmail.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20260717133421.3510970-1-twoerner@gmail.com> References: <20260717133421.3510970-1-twoerner@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 17 Jul 2026 13:34:42 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/241185 qemu (with its helper) is added to every standalone SDK on the architectures where it builds. It is only useful for running target binaries on the host via qemu-usermode, which not every SDK user wants, and it is a large thing to carry when they do not. Move it behind the "qemu" SDK feature, which is enabled by default so an unmodified configuration still gets qemu exactly as before on the same architectures; the architecture guard is retained. A configuration that does not want it removes the "qemu" feature from SDK_FEATURES. AI-Generated: codex/claude-opus 4.8 (xhigh) Signed-off-by: Trevor Woerner --- changes in v3: - new in v3 --- meta/conf/bitbake.conf | 2 +- .../packagegroups/nativesdk-packagegroup-sdk-host.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index b7bc74887b69..c9317bc9722a 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -898,7 +898,7 @@ OES_BITBAKE_CONF = "1" MACHINE_FEATURES:append = " ${@oe.utils.filter_default_features('MACHINE_FEATURES', d)}" SDK_MACHINE_FEATURES ?= "" -SDK_FEATURES ?= "" +SDK_FEATURES ?= "qemu" DISTRO_FEATURES:append = " ${@oe.utils.filter_default_features('DISTRO_FEATURES', d)}" diff --git a/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb b/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb index c2974a57fe3e..7205599288a2 100644 --- a/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb +++ b/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb @@ -13,7 +13,7 @@ PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1" # build some recent linux kernels (5.14+) for arm RDEPENDS:${PN} = "\ nativesdk-pkgconfig \ - ${@'nativesdk-qemu nativesdk-qemu-helper' if d.getVar('SDK_ARCH') in ['x86_64', 'aarch64', 'ppc64', 'ppc64le', 'riscv64', 'loongarch64', 'mips64', 's390x', 'sparc64'] else ''} \ + ${@'nativesdk-qemu nativesdk-qemu-helper' if bb.utils.contains('SDK_FEATURES', 'qemu', True, False, d) and d.getVar('SDK_ARCH') in ['x86_64', 'aarch64', 'ppc64', 'ppc64le', 'riscv64', 'loongarch64', 'mips64', 's390x', 'sparc64'] else ''} \ nativesdk-pseudo \ nativesdk-unfs3 \ nativesdk-opkg \ From patchwork Fri Jul 17 13:34:19 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Woerner X-Patchwork-Id: 92732 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id ABB51C44523 for ; Fri, 17 Jul 2026 13:34:42 +0000 (UTC) Received: from mail-vk1-f178.google.com (mail-vk1-f178.google.com [209.85.221.178]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.13737.1784295278409182173 for ; Fri, 17 Jul 2026 06:34:38 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20251104 header.b=bU/qrI/c; spf=pass (domain: gmail.com, ip: 209.85.221.178, mailfrom: twoerner@gmail.com) Received: by mail-vk1-f178.google.com with SMTP id 71dfb90a1353d-5c11f9015d8so1091057e0c.1 for ; Fri, 17 Jul 2026 06:34:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1784295277; x=1784900077; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=5n1qm9VAEfAauKmP+FEfBBz678WXRJTz7w2r3TmRXJU=; b=bU/qrI/c6KhujvDkI1F6ePLRtsIJASjmqbrjnDsudmwTcQCB0lbp8fOKVb+MDMyrtE 15UCNVVZslbWju1aunVMeMlm+dDB60VQr1tfwmgShVGPR61vseJ4YZeaOY2NGn0i28v2 mirmghoJv6X2rywEe7YNvYSLWXAUjeBLjIQFI9HIn5uLvScVboVkbsxXADTx3DekJNES Df76mi8Q5tzDvP6tL2GbLEw8KEQWzU8NDdMe1JG3wb/FzQ7Yk+JoSYDc77wCKQ3CMtr7 PRtEwoZuonG1m7HIPjOvPz6bqa+obieWVwG6cMeBdexTLxjC5t0OxO5Awt7ikPsYGk9P YkCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784295277; x=1784900077; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to:content-type; bh=5n1qm9VAEfAauKmP+FEfBBz678WXRJTz7w2r3TmRXJU=; b=gupq/LTTNXP2PFcrrRERGmcMm/b0WZ85djMeS4wLiDtnOnTthKUk7VViLGoButRlsW Xz12435ghKA3ob3wd9Io+YwmjlkICqksZQdGW7wK+5UnaAEQHvxgsyURfJn2hhYJHYU3 +TnEouF8od4tA8o30EQjc12jV7dRW4qQUgg1EP6oufmRvvwr9yIUZcO1vJUqFBL9Kvi2 y2UZ7hHhh/zaUeCd7FAI/Qx2dzKH96Al+JouWMnaKkMcU8eqJ47uVHJ4HJt7Afhs1zUL 5akXKhqWcbhAC37zAAGjXJCO2JWw+pOCNvzHavygty8G2gDfubqJErLsosIS0fvrgR8l rNCQ== X-Gm-Message-State: AOJu0Yz3fJWP5ichr46h9oTenbA+Dp/DE/ihWqwfl4GfVZug8JXt/b09 1AW4B0p+IwKGcE7qOgjgkXk/fhAUZQiNlAYw25Rbn3Oa0Kim2mNph8fJwns/uQ== X-Gm-Gg: AfdE7ckvjVDoWRYs6nQoBJ6tnrzW++Cb+cGwfMOyhV5j0zZeiRtAa9HyF5SCmQGF/0u MTnrpJF9JwxIQXdxGNLSwWIxI3tuMMs/6pX0MSYeUhavwUvR+UjZhlpiTahLlYH2+dPNAt34alD 2KMo3nnonj76J5hZWnbLkMOYlpvCYTCWA6pt8KfWDO08ko7E+rcGhpC3oa3tP6b52TBbNojJp+f /oOX3HnWD/1EJSSCVHMW/8re+U5S4buvPEoZWWeVC560nM5JyR+lrcxS3q+o3LqBHtOqRxQ+GdH jcDIW3PXneVaVBzWhRK7wG5bl8sQh5sZRwk2s1bsYVpjLOJaYV2KpIDHEK2XycGXt9qoH749HgD Oy25gtln6EzBos4x5KechUer1/vW2A4n+NH+iK+gskMKMW5kQ3/1rRO6RXc2czNLyuXFQsY2bjj Ym+ip/E+WOb50oQ98XybKtAD1t/jnr1JMxtVvSWv1kRGnk X-Received: by 2002:a05:6122:e247:b0:5bd:b2e1:e1f5 with SMTP id 71dfb90a1353d-5c1b64e8f9dmr383692e0c.2.1784295277203; Fri, 17 Jul 2026 06:34:37 -0700 (PDT) Received: from localhost.localdomain (pppoe-209-91-167-254.vianet.ca. [209.91.167.254]) by smtp.gmail.com with ESMTPSA id a1e0cc1a2514c-976fc3688e1sm565059241.3.2026.07.17.06.34.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jul 2026 06:34:35 -0700 (PDT) From: Trevor Woerner To: openembedded-core@lists.openembedded.org Subject: [PATCH v3 4/6] nativesdk-packagegroup-sdk-host: add an sbom SDK feature Date: Fri, 17 Jul 2026 09:34:19 -0400 Message-ID: <20260717133421.3510970-5-twoerner@gmail.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20260717133421.3510970-1-twoerner@gmail.com> References: <20260717133421.3510970-1-twoerner@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 17 Jul 2026 13:34:42 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/241186 Software composition tooling is useful to have in an SDK for generating or checking SPDX documents and scanning artifacts, but it is not needed by every SDK and pulls in a Python dependency chain, so it should be opt-in rather than always present. Add an "sbom" SDK feature that pulls in the SPDX and SBOM/CVE tools (nativesdk-python3-spdx-tools and nativesdk-python3-sbom-cve-check). It is not enabled by default; a configuration that wants it adds the "sbom" feature to SDK_FEATURES. AI-Generated: codex/claude-opus 4.8 (xhigh) Signed-off-by: Trevor Woerner --- changes in v3: - new in v3 --- .../packagegroups/nativesdk-packagegroup-sdk-host.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb b/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb index 7205599288a2..31559eb2cd82 100644 --- a/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb +++ b/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb @@ -30,6 +30,7 @@ RDEPENDS:${PN} = "\ nativesdk-flex \ nativesdk-perl-module-integer \ ${@bb.utils.contains('SDK_FEATURES', 'wic', 'nativesdk-wic', '', d)} \ + ${@bb.utils.contains('SDK_FEATURES', 'sbom', 'nativesdk-python3-spdx-tools nativesdk-python3-sbom-cve-check', '', d)} \ " RDEPENDS:${PN}:darwin = "\ From patchwork Fri Jul 17 13:34:20 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Woerner X-Patchwork-Id: 92733 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id B51EAC44525 for ; Fri, 17 Jul 2026 13:34:42 +0000 (UTC) Received: from mail-vs1-f52.google.com (mail-vs1-f52.google.com [209.85.217.52]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.13608.1784295280166272547 for ; Fri, 17 Jul 2026 06:34:40 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20251104 header.b=kZz9ojbu; spf=pass (domain: gmail.com, ip: 209.85.217.52, mailfrom: twoerner@gmail.com) Received: by mail-vs1-f52.google.com with SMTP id ada2fe7eead31-6cf48482ddeso2160039137.2 for ; Fri, 17 Jul 2026 06:34:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1784295279; x=1784900079; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=iEB0N9jqkBB27oEvLBu8KWpO5r5Jn6WKXLpuN4gu4uQ=; b=kZz9ojbuUP9kS/5D9tLdLG8KLQSAGCWonty0YMmP+JIzMznONUOBf1l89iax1eaKh0 2Fu5XwOef+ZM4Y5GBAxTudevwsctsUTU4PmpC0QvuFfR/CP+Jlp/hJxZSxK6Iv7rrDE/ J+8k9fUUDWPChKvvppXelNKoP/5FspCyOqGGPpRumG5IK1rYxUlJsYrpJWBroBG4Cw0S gIa57amosYDazDiOnT80LwU6IAVDIjsO9GdTLcsYTxwefBvfjF0XPzfI+pQIoOusxIhk 08rWAn8dRNnIJK0gO9nftHRjm1GznBAfOeOUGd0KNIvQNwhTRmrYD5aVAk9cuZ8HeZND gafw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784295279; x=1784900079; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to:content-type; bh=iEB0N9jqkBB27oEvLBu8KWpO5r5Jn6WKXLpuN4gu4uQ=; b=RkEGW2YAOEvff55fR1IFRPoiMDMY/J1qCegihYs75QjA3seHYaP/w2IYDZQGH62rUZ A20bB7waZM8Wrkp7kJQ/GD8w2enm89YA/vYA4nAtNJ5yMPVveRnXzc/Y8vF3ZhRd5QRp xEvhJeklCQQuIFTgxq+v9vE6L9FpNjCVPB03q5NYJuXeYcq10IZoWx81FEpQlxQeW1b9 bpvXwpYfQVS41EFbuve3qR3tMQj3j5rwwNN1wgizq1krTqgfBH1XnEPx97Po4naO0iMp RN4Hex0wQnWrKCkoIjZarcLKqrwKZ4WBXZN8h5hJaQQdA/WYsxl3wHqzbs044zyCe43/ 1qag== X-Gm-Message-State: AOJu0YxZBuOMKspGEZ58LyQeGVuyPZtUFWBaXoRlQVG/klXHR8kPSopB m6qqFzgnHiVTHJSYyoNRh5xnDFw1CYcfHpc7yH6wF+6bA4a0BtKHIqjssVICUw== X-Gm-Gg: AfdE7clruoBWA1jXl7VVssrIQNFBYI1CLxGKafFa5+m7UVrd0qoJogjegKTJMPGCaKD Y3pLmOJBR6LH5rOytvyzxMg5VSH4I104H7OuURoUl88C3fxTn72J40uryPK+g+0HmFC5fn7Tb5K VMVvAYxgC4oK/RVvxqTBLStWsV/3EMmnB/5lr/QfPn64Dq1MkrO+F2CUs9aUfx7nXEVUmwjf4NS 25txLcgnxyXdHsWFq6sJHSJDgltpj/+swQ8+WwTzdUN9iBwuc0kWQLOuEKCkMXcoT7ZtB/0osEz YqDNea6KUvkQjrGyqqvZk7xFZAOhfukbNvtjZEky/uRC6gdilYTXgYxyHbeB+MMYlf4V3Wh3ABj 6SzEExgMPVx2BCvYDhPWkWJqJIFd0wcz2YGjJ2vy7JXEzG9g5rJMFerIYJ9Yzic8W6YzeveIFG0 xaUOzhzqh0ZvMz03pRnZsNu++AdNFQs/E/n6JEYwKXTspx X-Received: by 2002:a05:6102:f81:b0:736:7e78:cf7f with SMTP id ada2fe7eead31-74753773800mr484578137.25.1784295279035; Fri, 17 Jul 2026 06:34:39 -0700 (PDT) Received: from localhost.localdomain (pppoe-209-91-167-254.vianet.ca. [209.91.167.254]) by smtp.gmail.com with ESMTPSA id a1e0cc1a2514c-976fc3688e1sm565059241.3.2026.07.17.06.34.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jul 2026 06:34:37 -0700 (PDT) From: Trevor Woerner To: openembedded-core@lists.openembedded.org Subject: [PATCH v3 5/6] packagegroup-cross-canadian: gate gdb behind SDK_FEATURES Date: Fri, 17 Jul 2026 09:34:20 -0400 Message-ID: <20260717133421.3510970-6-twoerner@gmail.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20260717133421.3510970-1-twoerner@gmail.com> References: <20260717133421.3510970-1-twoerner@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 17 Jul 2026 13:34:42 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/241187 The cross-canadian gdb is added to every SDK's toolchain packagegroup unconditionally. A host cross-debugger is part of what most people expect from an SDK, but it is also large, and an SDK built only to compile does not need it. Move it behind the "gdb" SDK feature, which is enabled by default so an unmodified configuration still gets the cross gdb exactly as before; binutils and gcc remain unconditional, as a cross-compiler is intrinsic to an SDK. A configuration that wants a compile-only SDK removes the "gdb" feature from SDK_FEATURES. AI-Generated: codex/claude-opus 4.8 (xhigh) Signed-off-by: Trevor Woerner --- changes in v3: - new in v3 --- meta/conf/bitbake.conf | 2 +- meta/recipes-core/packagegroups/packagegroup-cross-canadian.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index c9317bc9722a..ffdfcf8afa03 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -898,7 +898,7 @@ OES_BITBAKE_CONF = "1" MACHINE_FEATURES:append = " ${@oe.utils.filter_default_features('MACHINE_FEATURES', d)}" SDK_MACHINE_FEATURES ?= "" -SDK_FEATURES ?= "qemu" +SDK_FEATURES ?= "gdb qemu" DISTRO_FEATURES:append = " ${@oe.utils.filter_default_features('DISTRO_FEATURES', d)}" diff --git a/meta/recipes-core/packagegroups/packagegroup-cross-canadian.bb b/meta/recipes-core/packagegroups/packagegroup-cross-canadian.bb index 49c075eb1166..9db3cfa28831 100644 --- a/meta/recipes-core/packagegroups/packagegroup-cross-canadian.bb +++ b/meta/recipes-core/packagegroups/packagegroup-cross-canadian.bb @@ -13,7 +13,7 @@ GDB = "gdb-cross-canadian-${TRANSLATED_TARGET_ARCH}" RDEPENDS:${PN} = "\ ${@all_multilib_tune_values(d, 'BINUTILS')} \ ${@all_multilib_tune_values(d, 'GCC')} \ - ${@all_multilib_tune_values(d, 'GDB')} \ + ${@all_multilib_tune_values(d, 'GDB') if bb.utils.contains('SDK_FEATURES', 'gdb', True, False, d) else ''} \ meta-environment-${MACHINE} \ " From patchwork Fri Jul 17 13:34:21 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Woerner X-Patchwork-Id: 92735 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id AF7F6C4451C for ; Fri, 17 Jul 2026 13:34:52 +0000 (UTC) Received: from mail-vs1-f44.google.com (mail-vs1-f44.google.com [209.85.217.44]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.13610.1784295283459732666 for ; Fri, 17 Jul 2026 06:34:43 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20251104 header.b=SuJWE1ly; spf=pass (domain: gmail.com, ip: 209.85.217.44, mailfrom: twoerner@gmail.com) Received: by mail-vs1-f44.google.com with SMTP id ada2fe7eead31-736eea06c3eso2494275137.0 for ; Fri, 17 Jul 2026 06:34:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1784295282; x=1784900082; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=Ss0BmXYP/5NJnMPbwsdT/QXBmFaCIwl55D7pgyk6EA0=; b=SuJWE1lyF+g8nLerYBaI0FpanDx3LQCGBJxQU/6DD0734OTGEydB0DYjHKSMM6SxbS ZXFH/i+GBco90Npt3r9rYrdPmYfifzHm08kIbDTs4ME/M9bLz6jKvYY4DiSRL0/69I8S mL9viUm605vsHNg2WjFgfrTBUadym7MN3iU7xG9AoJUmQJtUwd8utAJ3YP5S2tKTo9bT mAC/NIFLmaeFQ8uNL/KBE1N51IP4Mf0O5TNsbyx3yxvABnegEuM49vfHKQT4vOAzwPdy kpBtKvT/ZvL8At880hHfYaq8MmBas6HZKui2uhJbEUZSc1IquVVkP6E0jdvpnFPTqmIk pdvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784295282; x=1784900082; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to:content-type; bh=Ss0BmXYP/5NJnMPbwsdT/QXBmFaCIwl55D7pgyk6EA0=; b=hlKI7DE737iuZecDnK8mESvdp4AGzYZGURmdwDq23J6eUw5JYUCfilkHTbAVg8cD8j zSAOTSw2XN61tEXnWlJxMegUbc94i+FOhjGI05D+vybCyVkHnj9UgcawQmP32dL4WQtT wHaaYxRKJTkdzVcTrDBJResG7ivaqjOoo0RmNo0lCSifE4bIdpTotarTT0CxchTwf9+B F2yXk+AMGP/Iy+NJu89OSrZlij+YImI9nx4pKR24sCBE1wVJUoWEvks29bBbBDZ411PD wvizXyG2yrMIY4Ybo8L7vSnGSSqKZcXXKeK7RBPlTdwyE/gJ36wVrIqn5OgO4SN5NNky OanA== X-Gm-Message-State: AOJu0YwweOR7CkPjYtEV7RTPNm1cyBTAfZzMzjMpFbDNmgGK7i3xmEsL 50gni/glAO2VBUtuTFEvjSycmTqTorHZMAG3Is8orImpP8OKYIsdFkgolb6tvQ== X-Gm-Gg: AfdE7ckfuKvchxwqVF56TL94aDokRn7vd7drj8L8062grIYzMdsEb0a/ig4e5Bpt/7o VSXt08T3O4bxPvZq9M819Pwaq3csqkYC5WAhj2YNqRcMBQErtx0/qXvfLDZEe6Nob+k6rAV5qcw ev5/cG3gw8ewKrlz+vTMMssFmbXSILEtPdzMEwPdmQIjwji1jfO0wkJh7UwS/MSnaEIZaBLXZjg 05RGa4cXKudkDE9j/SwAQaYivPdrIisB1InVPyEZ/kph1eV90YVvyMvPKda1O+rsMmvv+u3aHR4 ZL2GlMol83OaquOAS0mR6AlIC5SugYohnZcHWPFInrvJj3P5FmVaCLXUn7AZb3wvKc2jj9H56Qp F448mof1H1UR8z3WHBAJaSleqDP2h/FSJEMtqmqM1bHav66liLY/s8olCxNrPwgD/M85APwZfqn lfutDGWs7qnQOX+UNdz9i4INXO2as03LkZoSIjaNfiQGmc77JU8SvGX4dNvKYvFpnxUw== X-Received: by 2002:a05:6102:560f:b0:738:8022:d74c with SMTP id ada2fe7eead31-7475360e095mr483995137.15.1784295282390; Fri, 17 Jul 2026 06:34:42 -0700 (PDT) Received: from localhost.localdomain (pppoe-209-91-167-254.vianet.ca. [209.91.167.254]) by smtp.gmail.com with ESMTPSA id a1e0cc1a2514c-976fc3688e1sm565059241.3.2026.07.17.06.34.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jul 2026 06:34:39 -0700 (PDT) From: Trevor Woerner To: openembedded-core@lists.openembedded.org Subject: [PATCH v3 6/6] nativesdk-packagegroup-sdk-host: add an lldb SDK feature Date: Fri, 17 Jul 2026 09:34:21 -0400 Message-ID: <20260717133421.3510970-7-twoerner@gmail.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20260717133421.3510970-1-twoerner@gmail.com> References: <20260717133421.3510970-1-twoerner@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 17 Jul 2026 13:34:52 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/241188 The SDK ships the cross gdb (see the "gdb" feature), but some developers prefer lldb. It is a large addition and not wanted by default, so make it opt-in. Add an "lldb" SDK feature that pulls in nativesdk-lldb. It is not enabled by default; a configuration that wants it adds the "lldb" feature to SDK_FEATURES. AI-Generated: codex/claude-opus 4.8 (xhigh) Signed-off-by: Trevor Woerner --- changes in v3: - new in v3 --- .../packagegroups/nativesdk-packagegroup-sdk-host.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb b/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb index 31559eb2cd82..bf9de4201810 100644 --- a/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb +++ b/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb @@ -31,6 +31,7 @@ RDEPENDS:${PN} = "\ nativesdk-perl-module-integer \ ${@bb.utils.contains('SDK_FEATURES', 'wic', 'nativesdk-wic', '', d)} \ ${@bb.utils.contains('SDK_FEATURES', 'sbom', 'nativesdk-python3-spdx-tools nativesdk-python3-sbom-cve-check', '', d)} \ + ${@bb.utils.contains('SDK_FEATURES', 'lldb', 'nativesdk-lldb', '', d)} \ " RDEPENDS:${PN}:darwin = "\