From patchwork Wed Jul 1 07:54:08 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Woerner X-Patchwork-Id: 91473 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 27FD9C43602 for ; Wed, 1 Jul 2026 07:54:32 +0000 (UTC) Received: from mail-qk1-f171.google.com (mail-qk1-f171.google.com [209.85.222.171]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.39676.1782892465595579176 for ; Wed, 01 Jul 2026 00:54:25 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20251104 header.b=muPXFfeA; spf=pass (domain: gmail.com, ip: 209.85.222.171, mailfrom: twoerner@gmail.com) Received: by mail-qk1-f171.google.com with SMTP id af79cd13be357-923220bf1d5so35591585a.0 for ; Wed, 01 Jul 2026 00:54:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1782892464; x=1783497264; 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=ITcap7cZxn44injB7pVCvRB0fkfKTxrDTlhvPp5AVsg=; b=muPXFfeA3wmzx3FFDecwBgBELYu6Bjs9dieUHMqsmaWWswQBUtE5RXmqyxmRLqKH8U sE9d+gQ4SBW5YSuCzWZ+UfMyblw1NP/Q6TnFSg6IG8QetrHHjk5uWyl5EoDqPjatKatG xSD1NcUAgTGSfwZ4OjRk7ILbF67pWLAlJ9ytYO9XZA9W36mfYaXoihhZoe8m+qfJMByT VfIxL3Ets+cga3ffN7eR9rBSRZ0Bh2fqOhpFCFuv+iba8g8Z+xNBy2pe1w2JSbVq/epn +KdOQaniZkUq/6GUqPQ4kKb3I1mgh1hxVAe6omj5AYy9o05RBXrESU5fmVqV96KmlDFl IfYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782892464; x=1783497264; 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=ITcap7cZxn44injB7pVCvRB0fkfKTxrDTlhvPp5AVsg=; b=qVYrqvObOnKwFO2K524hIFCZZIKnix6sLlpjnENTGvV8hlJsVkKuPJujLD27tb6hbr m5bzlBntoVCEHsAhCAKCHDn0cd6Nk3y4eL/XPm8AGHaNDiX2mxTkDIpb9/ELvKBE7q4K UZ8MGEXtVOISmJvu9q3M5MvgrhnI6iNL7JNp87pE92vL97m4fZuAjkMXoVGp+0TBmdFu qNZe+DyN6gPnbHwlh+81CyzsxQfOzWdwLZvuZTtqVjscVa9MotHTv2puGeIfXIUHu9YS P1TA++dp0pm+7fHWanNbFgfWlaFayaOTTiMNvoPmGx3rmBhTHi2JfFczo3HcNTZH3qZc gJpw== X-Gm-Message-State: AOJu0Yz0nsdZcvGlHs8B/U6McG/DM+vNReNeed807T/FAFpLWmuWrO5R J2pO/pm6I/NprMZecxa/7dr1pmhNYuZsj4pROO1jn6wr0r7IEvmE41OIdJ7+sg== X-Gm-Gg: AfdE7cnGhZPVHM7gEgMh19CgxL+jcE1U8uPJ9Wy7KiNCmyh2ehD146EroCMOT2ujX/O FoDtlxRXw6IG+sApmYh5PdhENeLHHiNPefq/U3rYs5lzBrrsYG8uHrBtfpCkH4eoDdpRUSFx04r XPUcootyMEi0jxrTw79H+bu7fqunJibHoS/5GHICeK0IMulEhuTachXDZaZjbf/5LSStpaBDXbq j3JoGbtRpW/nUSIyEkdfK6la04BuW2+HxA1tfBNtQ8uB4W5Xl/RcA6mNg5kXS2PriN0SE4ZR9Xx 69FVas6HaDIgRPzWQD3NlW7tZgq88Wz8paL80YOMW3v3A2O3xJfz8Y33bbaZ0cWfGzRymLix5KW skig7uYaYd3PTHUYbP0ty+Ry4fgD2AwbqbuB9cBkoF8fhaS1AScmirrYuCBgPySXgVX03cIlqS5 I3muLO5s2aLc90AR6Z6AJ6zgfZQcnQRKv4nE65q4RgHvTd8Niq0QF3VR4MGWcefxyDbQ== X-Received: by 2002:a05:620a:19a7:b0:92e:56f7:c5fb with SMTP id af79cd13be357-92e781c1014mr71383785a.12.1782892464452; Wed, 01 Jul 2026 00:54:24 -0700 (PDT) Received: from localhost.localdomain (pppoe-209-91-167-254.vianet.ca. [209.91.167.254]) by smtp.gmail.com with ESMTPSA id af79cd13be357-92e62371ba1sm502294485a.42.2026.07.01.00.54.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jul 2026 00:54:23 -0700 (PDT) From: Trevor Woerner To: openembedded-core@lists.openembedded.org Subject: [PATCH 1/4] wic-tools.inc: add Date: Wed, 1 Jul 2026 03:54:08 -0400 Message-ID: <20260701075411.1092848-2-twoerner@gmail.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20260701075411.1092848-1-twoerner@gmail.com> References: <20260701075411.1092848-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 ; Wed, 01 Jul 2026 07:54:32 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/239949 wic invokes a range of host-side tools (parted, mkdosfs, mcopy, mkfs.*, grub-mkimage, ...) at image-creation time, depending on the partition types and bootloaders in a .wks file. The set wic could invoke is enumerated in its NATIVE_RECIPES table, and matches the helpers wic-tools lists in its DEPENDS. Refactor that helper list into a shared wic-tools.inc (WIC_TOOLS) and switch wic-tools to it, so the canonical list lives in one place and can be reused by other recipes that need the same set. AI-Generated: codex/claude-opus 4.8 (xhigh) Signed-off-by: Trevor Woerner --- meta/recipes-core/meta/wic-tools.bb | 15 ++++++++------- meta/recipes-core/meta/wic-tools.inc | 24 ++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 7 deletions(-) create mode 100644 meta/recipes-core/meta/wic-tools.inc diff --git a/meta/recipes-core/meta/wic-tools.bb b/meta/recipes-core/meta/wic-tools.bb index 45fb873dd6bd..b81729d9ff1b 100644 --- a/meta/recipes-core/meta/wic-tools.bb +++ b/meta/recipes-core/meta/wic-tools.bb @@ -2,13 +2,14 @@ SUMMARY = "A meta recipe to build native tools used by wic." LICENSE = "MIT" -DEPENDS = "\ - wic-native \ - parted-native gptfdisk-native dosfstools-native \ - mtools-native bmaptool-native grub-native cdrtools-native \ - btrfs-tools-native squashfs-tools-native pseudo-native \ - e2fsprogs-native util-linux-native tar-native erofs-utils-native \ - virtual/cross-binutils \ +require wic-tools.inc + +# wic itself, the shared WIC_TOOLS helpers as -native build dependencies, +# plus the extras specific to building the native sysroot: native-only +# cdrtools, pseudo and the cross binutils. +DEPENDS = "wic-native \ + ${@' '.join('%s-native' % t for t in d.getVar('WIC_TOOLS').split())} \ + cdrtools-native pseudo-native virtual/cross-binutils \ " DEPENDS:append:x86 = " syslinux-native syslinux grub-efi systemd-boot" DEPENDS:append:x86-64 = " syslinux-native syslinux grub-efi systemd-boot" diff --git a/meta/recipes-core/meta/wic-tools.inc b/meta/recipes-core/meta/wic-tools.inc new file mode 100644 index 000000000000..a1d622e9d345 --- /dev/null +++ b/meta/recipes-core/meta/wic-tools.inc @@ -0,0 +1,24 @@ +# Recipes providing the host-side tools wic may invoke at image-creation +# time, as listed in wic's NATIVE_RECIPES table. Names are given without +# a class suffix so they can be mapped to -native, nativesdk- or any +# other variant as needed. +# +# This list is limited to tools that exist both as -native and as +# nativesdk- packages. Tools that are not available in every variant +# (for example native-only cdrtools) and architecture-gated tools (for +# example syslinux) are intentionally left out and handled separately. + +WIC_TOOLS = "\ + parted \ + gptfdisk \ + dosfstools \ + mtools \ + bmaptool \ + grub \ + btrfs-tools \ + squashfs-tools \ + e2fsprogs \ + util-linux \ + tar \ + erofs-utils \ +" From patchwork Wed Jul 1 07:54:09 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Woerner X-Patchwork-Id: 91475 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 3F20BC43327 for ; Wed, 1 Jul 2026 07:54:32 +0000 (UTC) Received: from mail-qk1-f177.google.com (mail-qk1-f177.google.com [209.85.222.177]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.39677.1782892467350939030 for ; Wed, 01 Jul 2026 00:54:27 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20251104 header.b=X+BWJIl+; spf=pass (domain: gmail.com, ip: 209.85.222.177, mailfrom: twoerner@gmail.com) Received: by mail-qk1-f177.google.com with SMTP id af79cd13be357-9217d13c276so19560185a.1 for ; Wed, 01 Jul 2026 00:54:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1782892466; x=1783497266; 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; bh=QSgUu9S1D6LpUfreqme4h0fQH0VqnxSYhu7rmfe4P0s=; b=X+BWJIl+pLwOU5sFTEQWTig1JqWqB0i2S3wQnaevjOHcoy2Y2ZTqs/u7N7KCL1dzTv 9ncOKMgaIXWrn57BvQRZ6hEYH1p0M2tM0cqk0ASmrzTniMCQA4sZ92H53pzocM9/NqvM Md3s21ZmG7fG9WEsghoMXaK0i11LCvqP5dDVCdmUUNz4Z4Fm67jXapfqCA4HLT7luWY0 2NM4bDLzy7dU7KwBvylobCZePmWyYcvojT3/hEP1P3HjNIl659tPlHSKIumsmbbdksny 3/7b+pUH1RmdG5c78ZcsplBlEh/BZhdJCFGkPi/x5lcAWw3mkxl4eg+77NYfWG+uzayQ 41tA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782892466; x=1783497266; 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; bh=QSgUu9S1D6LpUfreqme4h0fQH0VqnxSYhu7rmfe4P0s=; b=CibCB0hhQEfEwZZTwC/xq+d9e8Gj3jnOm+JlOz58RKSAvKqAb8KNDTeKKbpkYwcVPi 4uEieaXhI58NRbzAoDjXKObTcKN/tnrDuJJG9lXeuygyjgUatOvMHvzx0i5KGwHmAyPb v3B+wbJCplV2yMzHDIf/sStPFEkhS1oiogX8SOt3k36K+euMDaUUDrMNMbXbHqomi9Zv nr04m23MCh6TUAbi6c94qbIL+SdL+LtCVDYcvq/zCWWxA5cqn2g2tpK3nZrSiHU6vYgL +xPtAVwb2WQTBjIWoWoF0hqy7M7jNYPPiEyXKUEHvlRkO3OldgEJeWMscrdNcw//9f0O sYKQ== X-Gm-Message-State: AOJu0YwV2tzXzzSYjbxuucXCbgqGgsA2NSWPZRsirLR8OuxJwv7hQYOg n1kBqVnClrMT7PD28QL8kiOwNfOt/6pga20MJQlu3VK/k3enI9yrcwguuUZ+GA== X-Gm-Gg: AfdE7clB52sCFsbSQ1q6tCRdgtd7IBdPVbYCPtJxsT03bOobrL/q7f3M+3MSNkoyEq8 C/3erEKm6zxjROUBpVLT4GTzEFDfevbOM+LSbdcI8tY3oY7JCwSj0ZYcu8Sd8TdnnqNhRfVAY7O Wrf7ovCYI5gZiRfuFMJ+Y11zXt+7WyZ/cFlLRKKGJEzKvxAVpLpJTgiogwCMAy9mz0owBHQIcoD mELdVrdcEDYrgofBZBKvWyaEBQpb8f5hwMUgNlVA1bI5fIX35t1vrdlHoIFkm6pNJo7j/ocMAHR 4KrmMO9tiAv7dDnAcrMAL3Y0NSQhMOKnBDSUD7OFGYMa9qL2XWyBmxO9ZRDT+JrFHJoaDliVwgU lmHMYl2+UQ7H4KQOZJKl4e/YkzMjT60yk7XUocimAE11mhRJzofZn94K9F274bK/IYq/FdpHP+u h7sMGV2uS836W3CnADIC5S79eIAOkzv5J/X8Yf1Z9DQQyQ7GXCfCGHpTY= X-Received: by 2002:a05:620a:4720:b0:92e:59b0:df08 with SMTP id af79cd13be357-92e781d49c3mr80465685a.3.1782892466245; Wed, 01 Jul 2026 00:54:26 -0700 (PDT) Received: from localhost.localdomain (pppoe-209-91-167-254.vianet.ca. [209.91.167.254]) by smtp.gmail.com with ESMTPSA id af79cd13be357-92e62371ba1sm502294485a.42.2026.07.01.00.54.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jul 2026 00:54:24 -0700 (PDT) From: Trevor Woerner To: openembedded-core@lists.openembedded.org Subject: [PATCH 2/4] wic: add runtime dependencies on the tools it invokes Date: Wed, 1 Jul 2026 03:54:09 -0400 Message-ID: <20260701075411.1092848-3-twoerner@gmail.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20260701075411.1092848-1-twoerner@gmail.com> References: <20260701075411.1092848-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 ; Wed, 01 Jul 2026 07:54:32 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/239950 wic shells out to a number of host-side tools (parted, mkdosfs, mcopy, the mkfs.* family, mdir, sfdisk, e2fsck, resize2fs, debugfs, blkid, ...) but does not declare them as dependencies. For the bitbake do_image_wic task this is handled by the wic-tools recipe, which builds those tools into the native sysroot. Wherever else wic is installed as a package it gets none of them, and its offline lookup (wic ls/cp/write) falls back to the host PATH, so wic works only by chance depending on what the host has installed: wic.WicError: Can't find executable 'mcopy' Make wic carry the tools it may invoke by adding the shared WIC_TOOLS helpers as RDEPENDS. They are added to the nativesdk variant, which is where wic is packaged for use outside a bitbake build; the native and target variants are unaffected. resize2fs is added explicitly: e2fsprogs splits it into its own e2fsprogs-resize2fs package, so nativesdk-e2fsprogs alone does not provide it, and it is needed by the wic cp/write resize path. syslinux (with its isohybrid helper) is gated to x86 hosts; cdrtools (mkisofs) is native-only with no nativesdk variant and is only needed for ISO images, so it cannot be included. AI-Generated: codex/claude-opus 4.8 (xhigh) Signed-off-by: Trevor Woerner --- meta/recipes-support/wic/wic_0.3.0.bb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/meta/recipes-support/wic/wic_0.3.0.bb b/meta/recipes-support/wic/wic_0.3.0.bb index 7dbf84b039a6..6efe974e02bd 100644 --- a/meta/recipes-support/wic/wic_0.3.0.bb +++ b/meta/recipes-support/wic/wic_0.3.0.bb @@ -10,6 +10,8 @@ CVE_PRODUCT = "yoctoproject:wic" inherit python_hatchling +require recipes-core/meta/wic-tools.inc + RDEPENDS:${PN} += " \ python3-core \ python3-json \ @@ -17,4 +19,20 @@ RDEPENDS:${PN} += " \ python3-misc \ " +# wic shells out to the WIC_TOOLS tools but does not declare them, so +# wherever wic is installed as a package it may not have them and its +# offline lookup falls back to the host PATH. Pull them in for the +# nativesdk variant so they are present regardless of the host; native +# and target wic are unaffected. +RDEPENDS:${PN}:append:class-nativesdk = "${@' '.join(' nativesdk-%s' % t for t in d.getVar('WIC_TOOLS').split())}" + +# resize2fs is split into its own e2fsprogs-resize2fs package, so +# nativesdk-e2fsprogs alone does not provide it. +RDEPENDS:${PN}:append:class-nativesdk = " nativesdk-e2fsprogs-resize2fs" + +# syslinux (and its isohybrid helper, in the -misc package) only builds +# for x86 hosts; cdrtools (mkisofs) is native-only with no nativesdk +# variant and so cannot be included. +RDEPENDS:${PN}:append:class-nativesdk = "${@' nativesdk-syslinux nativesdk-syslinux-misc' if d.getVar('SDK_ARCH') in ['x86_64', 'i686'] else ''}" + BBCLASSEXTEND = "native nativesdk" From patchwork Wed Jul 1 07:54:10 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Woerner X-Patchwork-Id: 91476 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 70885C44500 for ; Wed, 1 Jul 2026 07:54:32 +0000 (UTC) Received: from mail-qk1-f180.google.com (mail-qk1-f180.google.com [209.85.222.180]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.39679.1782892468982492012 for ; Wed, 01 Jul 2026 00:54:29 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20251104 header.b=kkzTzenP; spf=pass (domain: gmail.com, ip: 209.85.222.180, mailfrom: twoerner@gmail.com) Received: by mail-qk1-f180.google.com with SMTP id af79cd13be357-92e52c9fddfso21247985a.3 for ; Wed, 01 Jul 2026 00:54:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1782892468; x=1783497268; 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; bh=uKwxjrpDKYfu/m9GuR0fY3bjyK3h2l3VaBufTKmqEVo=; b=kkzTzenPWffFDS9Cjux8qRYfQjp+aFwjP/CnPfnj5tWOiiNVkLNgpuDCPtwZzxFLRl vCHsqExw/cZKexkKu2sx1rPsCn5724wnxguQnPAhu/Fkn3v3X89HuqNfNp24aktrq61U p3/faK7pXR6IhZGPwHu3sFIk5mFwZOAZHsO6QfQudsh+AiZ7oBStmTwwqliTKGbUTSEz fvN3FuwT5RdCe7g3E++ACp25H/yg0fE3MuoLPBUYzuBp1Gfzk6zm2aK4WLl8OfN7+IBE Y/4MoF9SgKhBQUuK52afoH4yG/6dQZOeciHB81R0V3JbGOuHEEZP3jp3M4zVpmvyGgQ4 rCDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782892468; x=1783497268; 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; bh=uKwxjrpDKYfu/m9GuR0fY3bjyK3h2l3VaBufTKmqEVo=; b=HC+1dqCzwL318G44TW3+HVXfco8GFv28Cbn6WpudCGzp8scWd4J8zvBmIG13Edt1EO KLjyPvy0jdr/3Ivq5TBGXQYJpP4lsWidj5uGQZAkUD0W/O3FB4Wj/zgvcoRxnyqblS/H WAyjyxGif6GWVozyTgEh/jBVTGL/s6wA5ftOWalLEdfjS/QEjHo7nbiqHeD8Zb2Lw1+8 zlTqWhO3Lp3RlIpv4VfWTHXmeXjb9DQio+tDP5kEvnonwvOkfry8adez2Rqpx5v/ri+h N1Ori5d+SZuib0CEMosnlVKL0VPc9gYWHd1vQyMqLckOPS5Oh+0ImwHaSJIrUjcL/M4Y 8GWQ== X-Gm-Message-State: AOJu0Yzvfk8pd2Hkx0yinGz3Jguxb/TvW1EwK//l/G0f+lI0Hwx6HM9s MpXDtzXDAF9YsXU3CmeWAxvN/8P7zRWM/NN7fuzRjOTLccccMy9D/tVGOAbVyA== X-Gm-Gg: AfdE7cn/mtAgWbcAbjMfje0gkna3+Dyk2D+TW+wLzjv8puUz/6Wrv+X5Q8JR0amXiyN THGXHkzp2ov8rw6RZUv4gMWcs48Fx34q4zCZ+bMJuyn+BeDAe7PBJVhQIHJvUG/Ot8upbuVdubu ekxTwQsvuyRs4YiVZAyGiDqhKFWVoXlSlEjtLEPs2BZUlenNsPkzoHufBgKlIJsYE/jDi/m9pUB /HH3v+pLiZy+anPEsnCiFSG5gl0keS90xhHOiCC/6J4gLmHFTZHPEsU8+tPWDvfqIBs94lWMFCb HMRU6N7tqBT81IyqxV99azx3AnxggVgLkSi69igcxT4OoGj3R8D6ygVrV2POZFtOs46tIaQ/+TF 19tjmk6rMIUHEkNq/Yqa5m4DOuwDQbVvLdoWsjXo/BDqJPRr+jU/XegUKSfGnnGWWkJYLYPOQk1 g9vx07jhV8XnLe5lSsI8RgcKxP+2a6B/4utoT2oEIG4mTPRVtcE9oum9rWhmMF9R2zAQ== X-Received: by 2002:a05:620a:2991:b0:915:8f08:5fa7 with SMTP id af79cd13be357-92e784f0698mr67200485a.52.1782892467911; Wed, 01 Jul 2026 00:54:27 -0700 (PDT) Received: from localhost.localdomain (pppoe-209-91-167-254.vianet.ca. [209.91.167.254]) by smtp.gmail.com with ESMTPSA id af79cd13be357-92e62371ba1sm502294485a.42.2026.07.01.00.54.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jul 2026 00:54:26 -0700 (PDT) From: Trevor Woerner To: openembedded-core@lists.openembedded.org Subject: [PATCH 3/4] buildtools-extended-tarball: use nativesdk-wic Date: Wed, 1 Jul 2026 03:54:10 -0400 Message-ID: <20260701075411.1092848-4-twoerner@gmail.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20260701075411.1092848-1-twoerner@gmail.com> References: <20260701075411.1092848-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 ; Wed, 01 Jul 2026 07:54:32 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/239951 The extended buildtools tarball carried nativesdk-parted, -dosfstools and -gptfdisk so that "wic ls" and friends could work on an image. That list predated wic becoming a recipe, so it provided some of wic's helper tools but not wic itself, nor the rest of the tools wic could invoke. nativesdk-wic now pulls in the tools it needs on its own, so replace those three entries with nativesdk-wic. The tarball ships a working wic with its full tool set instead of a partial set of its dependencies. AI-Generated: codex/claude-opus 4.8 (xhigh) Signed-off-by: Trevor Woerner --- meta/recipes-core/meta/buildtools-extended-tarball.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/meta/recipes-core/meta/buildtools-extended-tarball.bb b/meta/recipes-core/meta/buildtools-extended-tarball.bb index 633f8e6b99d6..9dddd70a2ce5 100644 --- a/meta/recipes-core/meta/buildtools-extended-tarball.bb +++ b/meta/recipes-core/meta/buildtools-extended-tarball.bb @@ -30,9 +30,7 @@ TOOLCHAIN_HOST_TASK += "\ nativesdk-glibc-utils \ nativesdk-glibc-gconvs \ nativesdk-libxcrypt-dev \ - nativesdk-parted \ - nativesdk-dosfstools \ - nativesdk-gptfdisk \ + nativesdk-wic \ " # gconvs needed for iconv to work in vim builds From patchwork Wed Jul 1 07:54:11 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Woerner X-Patchwork-Id: 91474 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 8C670C44502 for ; Wed, 1 Jul 2026 07:54:32 +0000 (UTC) Received: from mail-qk1-f171.google.com (mail-qk1-f171.google.com [209.85.222.171]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.39680.1782892470674690585 for ; Wed, 01 Jul 2026 00:54:30 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20251104 header.b=EgPBcPhB; spf=pass (domain: gmail.com, ip: 209.85.222.171, mailfrom: twoerner@gmail.com) Received: by mail-qk1-f171.google.com with SMTP id af79cd13be357-92e5cb052edso32229285a.2 for ; Wed, 01 Jul 2026 00:54:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1782892469; x=1783497269; 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=56ZjC3bE+objWKmU7nR9bLmAhk9zlEVnPwq8jL42Odo=; b=EgPBcPhB5VLR4Fe06CIiT+ZspihbFLZDWMNV0C8TKJ3CdEr4wMDS1xfY7+JeJt49VQ lZWtOa3fOJh5J5mUNM5Ksf5pLMHQkI6fvRC46MhZqhZ3ud5O9cuVr3jsUkJfe9iKVFRB JqgKu3XL3YVWA0uMDkkcNgOvjo9p3cL01V60XfvTdBkicOtdHmbPVoqSYQyKfDqBMwCe jBeXCVweU9njsh5/1xf/Ehvt+Ts9NVFlmXislyZoaoE99LJ8qYW7QzzYt01II0JQ4L73 RYu0GzCFzbc3tbcyN/3bv+fbBViLEYDTfxlL/sX3wupLhgTYacRPz2Xfqg0zzp2e9rvT 9CfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782892469; x=1783497269; 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=56ZjC3bE+objWKmU7nR9bLmAhk9zlEVnPwq8jL42Odo=; b=IFSXLzd+Q+nC7D1MOs7H/NGGdSNLamB2ZoCBbj/bRLfqCOVzV6o/l8WzsNBMtEuASi aBJMKy1uyZpAOVclU25//yGr+9MfZcS5hFwXzSTDQF+7a2HPdCSUXDMMInxpJN0Jlwg3 5aLe5VOU/GGwOLDTPI65i5uVNlGsPzPZ8U3Xlqv0/ezTISjlIYcbabGxrcfJ7aJpzet/ bXqnFdupGtFaejp1FXPF57n3C6jIfDEEVMrePh1oTzonye5uIfYNsUJVz+KQXljRd247 p3c3VHUn+2wf+1Av6ViXRRaXcTxHmEdEpzIFJIJBqnA3KX3vRUo8x7uzN73ai0C3WvB1 Gp9w== X-Gm-Message-State: AOJu0YysOMjYby017PqGxPKm1OniKpyw5j0HL95EIVQpNSl9BF3QSgtR QV90s9NEeR1ACk59Qat2vsk4ZZw45TrJvo+AKUZHH7Fr8r3uwNPDAEY+cTzZCQ== X-Gm-Gg: AfdE7cmxWC45uQ/7VlUwdcSFHD6UwPPDsDtWWlxZ4fOOJdWUM2ye4q8Ptm8chy6InA6 VMhEr+YgZ1yVJRytV1purzoLB5a+0IRJivF8jx3sewjcYoDTBRo5frr9WKUTjv7+APEff7qH5st Nz8XMqUbvBdlM03SQfhsqbVhhxscpH79DPLWSfCmEzxNS/LV+SbzZnUZG+s248w2jK1v1bT+APP aNzEJasszQ9aJlbLSSnI8cqkLRwdx/m07Cof46Sy5Vv/5cQ0aZi/zAG1TzaiMrhME3SuzQ+NBSx rXDTnamTi1EgdHktrVqj86ttWZzmssa9Mr9lbinw/1Chg/VeQG6c195J33DAn6AI7RpeI4lTMyE dkmfnQZh/EG/38/3AoGqgea+GGkA+FgNyGyQRJBMsFMNy2OyEGx3RytK365HAcZmwUVmfatgkho bF64dM4rsHRfezd3aMcK0a6eq0HAtb4qPB7y54sOF1I7pjTF+9WDFLsMadW6WA0DWFWA== X-Received: by 2002:a05:620a:4548:b0:92e:5137:2830 with SMTP id af79cd13be357-92e785453c0mr72815085a.72.1782892469641; Wed, 01 Jul 2026 00:54:29 -0700 (PDT) Received: from localhost.localdomain (pppoe-209-91-167-254.vianet.ca. [209.91.167.254]) by smtp.gmail.com with ESMTPSA id af79cd13be357-92e62371ba1sm502294485a.42.2026.07.01.00.54.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jul 2026 00:54:28 -0700 (PDT) From: Trevor Woerner To: openembedded-core@lists.openembedded.org Subject: [PATCH 4/4] nativesdk-packagegroup-sdk-host: add wic Date: Wed, 1 Jul 2026 03:54:11 -0400 Message-ID: <20260701075411.1092848-5-twoerner@gmail.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20260701075411.1092848-1-twoerner@gmail.com> References: <20260701075411.1092848-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 ; Wed, 01 Jul 2026 07:54:32 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/239952 wic is useful from an installed SDK for assembling or inspecting a wic image, but it is not part of the host packagegroup, so a user who wants it has to add it themselves. Add nativesdk-wic so it is available by default. AI-Generated: codex/claude-opus 4.8 (xhigh) Signed-off-by: Trevor Woerner --- .../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 51e48f250b19..a8e59de4bca0 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 \ + nativesdk-wic \ " RDEPENDS:${PN}:darwin = "\