All of lore.kernel.org
 help / color / mirror / Atom feed
From: Trevor Woerner <twoerner@gmail.com>
To: yocto-patches@lists.yoctoproject.org
Subject: [wic][PATCH 0/9] standalone wic repository
Date: Fri,  3 Apr 2026 14:36:35 -0400	[thread overview]
Message-ID: <20260403183644.2783267-1-twoerner@gmail.com> (raw)

This patchset is meant to be applied to the wic codebase immediately
after wic is split out from the OpenEmbedded-Core codebase. Afterwards
this project was turned into a hatch-based Python project commit by
commit, demonstrating that the starting point for this code was an
unmodifed wic from oe-core, and showing how it was transformed.

The starting point for this repository involved using git-filter-repo to
move the wic source into its own repository without any modifications:
    $ git-filter-repo --force --path scripts/wic --path scripts/lib/wic/

Trevor Woerner (9):
  re-organize for python src layout packaging
  move example *wks files
  create python hatch project
  add oe-core and bitbake helper packages
  bump version: 0.2.0 -> 0.3.0
  cli.py: remove bitbake coupling
  plugins/source/bootimg_biosplusefi.py: add import os
  ksparser.py: search for *inc files
  cli.py: fix main() for standalone mode

 .gitignore                                    |   1 +
 LICENSE                                       | 288 ++++++++++++++
 README.md                                     |  51 +++
 .../canned-wks => example-wks}/common.wks.inc |   0
 .../directdisk-bootloader-config.cfg          |   0
 .../directdisk-bootloader-config.wks          |   0
 .../directdisk-gpt.wks                        |   0
 .../directdisk-multi-rootfs.wks               |   0
 .../canned-wks => example-wks}/directdisk.wks |   0
 .../efi-bootdisk.wks.in                       |   0
 .../efi-uki-bootdisk.wks.in                   |   0
 .../canned-wks => example-wks}/mkefidisk.wks  |   0
 .../mkhybridiso.wks                           |   0
 .../qemuloongarch.wks                         |   0
 .../canned-wks => example-wks}/qemuriscv.wks  |   0
 .../qemux86-directdisk.wks                    |   0
 .../sdimage-bootpart.wks                      |   0
 .../systemd-bootdisk.wks                      |   0
 pyproject.toml                                |  38 ++
 src/bb/__init__.py                            |  14 +
 src/bb/utils.py                               |  23 ++
 src/oe/__init__.py                            |   1 +
 src/oe/bootfiles.py                           |  58 +++
 src/oe/path.py                                | 351 ++++++++++++++++++
 {scripts/lib => src}/wic/__init__.py          |   0
 scripts/wic => src/wic/cli.py                 |  14 +-
 {scripts/lib => src}/wic/engine.py            |   0
 {scripts/lib => src}/wic/filemap.py           |   0
 {scripts/lib => src}/wic/help.py              |   0
 {scripts/lib => src}/wic/ksparser.py          |  18 +-
 {scripts/lib => src}/wic/misc.py              |   0
 {scripts/lib => src}/wic/partition.py         |   0
 {scripts/lib => src}/wic/pluginbase.py        |   0
 .../lib => src}/wic/plugins/imager/direct.py  |   0
 .../wic/plugins/source/bootimg_biosplusefi.py |   1 +
 .../wic/plugins/source/bootimg_efi.py         |   0
 .../wic/plugins/source/bootimg_partition.py   |   0
 .../wic/plugins/source/bootimg_pcbios.py      |   0
 .../lib => src}/wic/plugins/source/empty.py   |   0
 .../wic/plugins/source/extra_partition.py     |   0
 .../wic/plugins/source/isoimage_isohybrid.py  |   0
 .../lib => src}/wic/plugins/source/rawcopy.py |   0
 .../lib => src}/wic/plugins/source/rootfs.py  |   0
 43 files changed, 847 insertions(+), 11 deletions(-)
 create mode 100644 .gitignore
 create mode 100644 LICENSE
 create mode 100644 README.md
 rename {scripts/lib/wic/canned-wks => example-wks}/common.wks.inc (100%)
 rename {scripts/lib/wic/canned-wks => example-wks}/directdisk-bootloader-config.cfg (100%)
 rename {scripts/lib/wic/canned-wks => example-wks}/directdisk-bootloader-config.wks (100%)
 rename {scripts/lib/wic/canned-wks => example-wks}/directdisk-gpt.wks (100%)
 rename {scripts/lib/wic/canned-wks => example-wks}/directdisk-multi-rootfs.wks (100%)
 rename {scripts/lib/wic/canned-wks => example-wks}/directdisk.wks (100%)
 rename {scripts/lib/wic/canned-wks => example-wks}/efi-bootdisk.wks.in (100%)
 rename {scripts/lib/wic/canned-wks => example-wks}/efi-uki-bootdisk.wks.in (100%)
 rename {scripts/lib/wic/canned-wks => example-wks}/mkefidisk.wks (100%)
 rename {scripts/lib/wic/canned-wks => example-wks}/mkhybridiso.wks (100%)
 rename {scripts/lib/wic/canned-wks => example-wks}/qemuloongarch.wks (100%)
 rename {scripts/lib/wic/canned-wks => example-wks}/qemuriscv.wks (100%)
 rename {scripts/lib/wic/canned-wks => example-wks}/qemux86-directdisk.wks (100%)
 rename {scripts/lib/wic/canned-wks => example-wks}/sdimage-bootpart.wks (100%)
 rename {scripts/lib/wic/canned-wks => example-wks}/systemd-bootdisk.wks (100%)
 create mode 100644 pyproject.toml
 create mode 100644 src/bb/__init__.py
 create mode 100644 src/bb/utils.py
 create mode 100644 src/oe/__init__.py
 create mode 100644 src/oe/bootfiles.py
 create mode 100644 src/oe/path.py
 rename {scripts/lib => src}/wic/__init__.py (100%)
 rename scripts/wic => src/wic/cli.py (99%)
 rename {scripts/lib => src}/wic/engine.py (100%)
 rename {scripts/lib => src}/wic/filemap.py (100%)
 rename {scripts/lib => src}/wic/help.py (100%)
 rename {scripts/lib => src}/wic/ksparser.py (95%)
 rename {scripts/lib => src}/wic/misc.py (100%)
 rename {scripts/lib => src}/wic/partition.py (100%)
 rename {scripts/lib => src}/wic/pluginbase.py (100%)
 rename {scripts/lib => src}/wic/plugins/imager/direct.py (100%)
 rename {scripts/lib => src}/wic/plugins/source/bootimg_biosplusefi.py (99%)
 rename {scripts/lib => src}/wic/plugins/source/bootimg_efi.py (100%)
 rename {scripts/lib => src}/wic/plugins/source/bootimg_partition.py (100%)
 rename {scripts/lib => src}/wic/plugins/source/bootimg_pcbios.py (100%)
 rename {scripts/lib => src}/wic/plugins/source/empty.py (100%)
 rename {scripts/lib => src}/wic/plugins/source/extra_partition.py (100%)
 rename {scripts/lib => src}/wic/plugins/source/isoimage_isohybrid.py (100%)
 rename {scripts/lib => src}/wic/plugins/source/rawcopy.py (100%)
 rename {scripts/lib => src}/wic/plugins/source/rootfs.py (100%)

-- 
2.51.0



             reply	other threads:[~2026-04-03 18:37 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-03 18:36 Trevor Woerner [this message]
2026-04-03 18:36 ` [wic][PATCH 1/9] re-organize for python src layout packaging Trevor Woerner
2026-04-03 18:36 ` [wic][PATCH 2/9] move example *wks files Trevor Woerner
2026-04-03 18:36 ` [wic][PATCH 3/9] create python hatch project Trevor Woerner
2026-04-03 18:36 ` [wic][PATCH 4/9] add oe-core and bitbake helper packages Trevor Woerner
2026-04-03 18:36 ` [wic][PATCH 5/9] bump version: 0.2.0 -> 0.3.0 Trevor Woerner
2026-04-03 18:36 ` [wic][PATCH 6/9] cli.py: remove bitbake coupling Trevor Woerner
2026-04-03 18:36 ` [wic][PATCH 7/9] plugins/source/bootimg_biosplusefi.py: add import os Trevor Woerner
2026-04-03 18:36 ` [wic][PATCH 8/9] ksparser.py: search for *inc files Trevor Woerner
2026-04-03 18:36 ` [wic][PATCH 9/9] cli.py: fix main() for standalone mode 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=20260403183644.2783267-1-twoerner@gmail.com \
    --to=twoerner@gmail.com \
    --cc=yocto-patches@lists.yoctoproject.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.