All of lore.kernel.org
 help / color / mirror / Atom feed
From: Trevor Woerner <twoerner@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH v2 0/3] wic: give installed wic the tools it needs
Date: Tue,  7 Jul 2026 10:40:06 -0400	[thread overview]
Message-ID: <20260707144009.708407-1-twoerner@gmail.com> (raw)

wic shells out to a range of host-side tools but does not declare them,
so wherever it is installed as a package (rather than run from the
bitbake do_image_wic task, which has the wic-tools native sysroot on
PATH) it works only by chance depending on what the host happens to
have installed. This series makes an installed wic carry its own tools
and makes putting wic into the SDK an explicit, opt-in choice.

Changes since v1:
 - Dropped the wic-tools.inc refactor. With wic no longer added to the
   SDK by default and the tarball entries removed, there was nothing
   left to share, so the tool list now lives directly in the wic recipe
   as RDEPENDS instead of a new .inc.
 - buildtools-extended-tarball no longer swaps the parted/dosfstools/
   gptfdisk entries for nativesdk-wic; those three tools never belonged
   in this tarball (it ships build prerequisites, not image helpers), so
   they are simply removed.
 - wic is no longer added to nativesdk-packagegroup-sdk-host
   unconditionally. It is gated behind a new SDK_INCLUDE_WIC knob
   (default "no"), since pulling in wic also pulls in the long list of
   tools it might need.

The wic/wic-tools split and the machine-specific bootloader firmware
that wic-tools drags in are left for a separate follow-up.

Trevor Woerner (3):
  wic: add runtime dependencies on the tools it invokes
  buildtools-extended-tarball: drop wic helper tools
  nativesdk-packagegroup-sdk-host: optionally add wic

 .../meta/buildtools-extended-tarball.bb       |  3 ---
 .../nativesdk-packagegroup-sdk-host.bb        |  6 +++++
 meta/recipes-support/wic/wic_0.3.0.bb         | 23 +++++++++++++++++++
 3 files changed, 29 insertions(+), 3 deletions(-)

-- 
2.50.0.173.g8b6f19ccfc3a


             reply	other threads:[~2026-07-07 14:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-07 14:40 Trevor Woerner [this message]
2026-07-07 14:40 ` [PATCH v2 1/3] wic: add runtime dependencies on the tools it invokes Trevor Woerner
2026-07-07 14:40 ` [PATCH v2 2/3] buildtools-extended-tarball: drop wic helper tools Trevor Woerner
2026-07-07 14:40 ` [PATCH v2 3/3] nativesdk-packagegroup-sdk-host: optionally add wic Trevor Woerner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260707144009.708407-1-twoerner@gmail.com \
    --to=twoerner@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.