Skip to content

Fix for #10835 - WIC should not rely on hddimg creation for finding all needed artifacts

Ed Bartosh openembedded-core 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest11 patches 14 repliesIn review
  2. v214 patches 1 replySuperseded
  3. v114 patches 0 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11image-wic: move wic code to image-wic.bbclassmeta/classes/image-wic.bbclass meta/classes/image.bbclass meta/classes/image_types.bbclass+122 -11813 replies
2/11wic: use INITRD_LIVE in isoimage-isohybridmeta/classes/image-wic.bbclass meta/lib/oeqa/selftest/wic.py scripts/lib/wic/plugins/source/isoimage-isohybrid.py+4 -40 replies
3/11wic: isoimage-isohybrid: stop using HDDDIRscripts/lib/wic/plugins/source/isoimage-isohybrid.py+2 -80 replies
4/11image-wic: remove HDDDIR from WICVARSmeta/classes/image-wic.bbclass meta/lib/oeqa/selftest/wic.py+3 -30 replies
5/11wic: Look for image artifacts in a common locationmeta/lib/oeqa/selftest/wic.py scripts/lib/wic/plugins/source/bootimg-efi.py scripts/lib/wic/plugins/source/isoimage-isohybrid.py+45 -160 replies
6/11isoimage-isohybrid: use TRANSLATED_TARGET_ARCH instead of MACHINE_ARCHmeta/classes/image-wic.bbclass scripts/lib/wic/plugins/source/isoimage-isohybrid.py+6 -60 replies
7/11selftest: stop using hddimg in the wic test suitemeta/lib/oeqa/selftest/wic.py+1 -20 replies
8/11selftest: wic: fix test_iso_image test casemeta/lib/oeqa/selftest/wic.py+2 -10 replies
9/11grub-efi.bbclass: use 'grub-efi-' prefixmeta/classes/grub-efi.bbclass+6 -40 replies
10/11wic-tools: add dependency to systemd-bootmeta/recipes-core/meta/wic-tools.bb+2 -20 replies
11/11isoimage-isohybrid: renamed variable hdd_dirscripts/lib/wic/plugins/source/isoimage-isohybrid.py+4 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 00/11] Fix for #10835 - WIC should not rely on hddimg creation for finding all needed artifacts

Hi,

This patchset usage of hddimg from wic codebase due to planned deprecation of hddimg.

While working on this wic-related code in meta/classes/ has been moved to image-wic.bbclass to make it more maintainable.

Changes in v2: rebased on top of ross/mut
Changes in v3: removed patches that add tasks, fixed test cases,
rebased on top of patches that make use of artifacts from DEPLOY_DIR_IMAGE, rebased on to pf ross/mut

The following changes since commit 2624674adefd86d15bc0bec2bb2a3876f785b947:

selftest: check results in test_image_vars_dir* (2017-01-27 17:27:30 +0000)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib ed/wic/wip
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ed/wic/wip

Ed Bartosh (10):
image-wic: move wic code to image-wic.bbclass
wic: use INITRD_LIVE in isoimage-isohybrid
wic: isoimage-isohybrid: stop using HDDDIR
image-wic: remove HDDDIR from WICVARS
isoimage-isohybrid: use TRANSLATED_TARGET_ARCH instead of MACHINE_ARCH
selftest: stop using hddimg in the wic test suite
selftest: wic: fix test_iso_image test case grub-efi.bbclass: use 'grub-efi-' prefix
wic-tools: add dependency to systemd-boot
isoimage-isohybrid: renamed variable hdd_dir

Tom Zanussi (1):
wic: Look for image artifacts in a common location

 meta/classes/grub-efi.bbclass                      |  10 +-
 meta/classes/image-wic.bbclass                     | 120 +++++++++++++++++++++
 meta/classes/image.bbclass                         |  25 +----
 meta/classes/image_types.bbclass                   |  95 ----------------
 meta/lib/oeqa/selftest/wic.py                      |   6 +-
 meta/recipes-core/meta/wic-tools.bb                |   4 +-
 scripts/lib/wic/plugins/source/bootimg-efi.py      |  39 +++++--
 .../lib/wic/plugins/source/isoimage-isohybrid.py   |  36 ++++---
 8 files changed, 182 insertions(+), 153 deletions(-)
 create mode 100644 meta/classes/image-wic.bbclass
Signature · 1 line
2.1.4