All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] wic: give installed wic the tools it needs
@ 2026-07-07 14:40 Trevor Woerner
  2026-07-07 14:40 ` [PATCH v2 1/3] wic: add runtime dependencies on the tools it invokes Trevor Woerner
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Trevor Woerner @ 2026-07-07 14:40 UTC (permalink / raw)
  To: openembedded-core

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-07-07 14:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-07 14:40 [PATCH v2 0/3] wic: give installed wic the tools it needs Trevor Woerner
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

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.