Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Ed Bartosh <ed.bartosh@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH v2 00/14] Fix for #10835 - WIC should not rely on hddimg creation for finding all needed artifacts
Date: Thu, 26 Jan 2017 14:40:28 +0200	[thread overview]
Message-ID: <cover.1485434085.git.ed.bartosh@linux.intel.com> (raw)

Hi,

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

Wic used hddimg to get 2 types of artifacts - efi and iso artifacts.
To get rid of using hddimg 2 new tasks was added to build efi and iso artifacts.
This removes dependency to hddimg and also speeds up wic image creation as producing
efi and iso artifacts is faster than building 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

The following changes since commit 70c6fa0f9eefa2233cbdcbba5271d57a74393471:

  selftest: wic: split test_debug test case (2017-01-26 13:27:34 +0200)

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 (14):
  image-wic: move wic code to image-wic.bbclass
  grub-efi: set default desination dir
  systemd-boot: set default desination dir
  image-wic.bbclas: add task do_efi_populate
  grub-efi: make do_efi_populate depend on do_deploy
  systemd-boot: make do_efi_populate depend on do_deploy
  wic: use EFI artifacts from $WORKDIR/efi
  image-wic: add task do_build_iso
  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

 meta/classes/grub-efi.bbclass                      |   3 +-
 meta/classes/image-wic.bbclass                     | 149 +++++++++++++++++++++
 meta/classes/image.bbclass                         |  25 +---
 meta/classes/image_types.bbclass                   |  95 -------------
 meta/classes/systemd-boot.bbclass                  |   3 +-
 meta/lib/oeqa/selftest/wic.py                      |   6 +-
 scripts/lib/wic/plugins/source/bootimg-efi.py      |   4 +-
 .../lib/wic/plugins/source/isoimage-isohybrid.py   |  20 +--
 8 files changed, 166 insertions(+), 139 deletions(-)
 create mode 100644 meta/classes/image-wic.bbclass

--
Regards,
Ed


             reply	other threads:[~2017-01-26 13:03 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-26 12:40 Ed Bartosh [this message]
2017-01-26 12:40 ` [PATCH v2 01/14] image-wic: move wic code to image-wic.bbclass Ed Bartosh
2017-01-26 12:40 ` [PATCH v2 02/14] grub-efi: set default desination dir Ed Bartosh
2017-01-26 12:40 ` [PATCH v2 03/14] systemd-boot: " Ed Bartosh
2017-01-26 12:40 ` [PATCH v2 04/14] image-wic.bbclas: add task do_efi_populate Ed Bartosh
2017-01-26 12:40 ` [PATCH v2 05/14] grub-efi: make do_efi_populate depend on do_deploy Ed Bartosh
2017-01-26 12:40 ` [PATCH v2 06/14] systemd-boot: " Ed Bartosh
2017-01-26 12:40 ` [PATCH v2 07/14] wic: use EFI artifacts from $WORKDIR/efi Ed Bartosh
2017-01-26 12:40 ` [PATCH v2 08/14] image-wic: add task do_build_iso Ed Bartosh
2017-01-26 12:40 ` [PATCH v2 09/14] wic: use INITRD_LIVE in isoimage-isohybrid Ed Bartosh
2017-01-26 12:40 ` [PATCH v2 10/14] wic: isoimage-isohybrid: stop using HDDDIR Ed Bartosh
2017-01-26 12:40 ` [PATCH v2 11/14] image-wic: remove HDDDIR from WICVARS Ed Bartosh
2017-01-26 12:40 ` [PATCH v2 12/14] isoimage-isohybrid: use TRANSLATED_TARGET_ARCH instead of MACHINE_ARCH Ed Bartosh
2017-01-26 12:40 ` [PATCH v2 13/14] selftest: stop using hddimg in the wic test suite Ed Bartosh
2017-01-26 12:40 ` [PATCH v2 14/14] selftest: wic: fix test_iso_image test case Ed Bartosh
2017-01-26 15:24 ` ✗ patchtest: failure for Fix for #10835 - WIC should not rely on hddimg creation for finding all needed artifacts (rev2) Patchwork

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=cover.1485434085.git.ed.bartosh@linux.intel.com \
    --to=ed.bartosh@linux.intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox