Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/4] #10073: generic EFI for wic
@ 2017-05-10  8:05 Ed Bartosh
  2017-05-10  8:05 ` [PATCH 1/4] efi: add efi_bootfs_populate API Ed Bartosh
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Ed Bartosh @ 2017-05-10  8:05 UTC (permalink / raw)
  To: openembedded-core

Hi,

This patchset is an implementation of generic EFI approach for wic images.

Instead of introducing yet another wic plugin it uses existing APIs from
EFI_PROVIDER classes to populate ${WORKDIR}/bootfs directory with EFI artifacts
and bootloader configuration. This directory can be used by wic rootfs plugin
to put into boot partition of the image.

Example kickstart file and 2 test cases were added to wic test suite to better
illustrate the approach.

I personally like this approach much better than duplicating oe image creation
functionality in wic plugins. This way we can have the code in one place and
bootloaders can be configured the same way for oe and wic images.

The following changes since commit cdb9e7aa493d9ed0eb6ffcec37d581ea928b5f2b:

  selftest: fix test_unsupported_subcommand test case (2017-05-02 17:24:23 +0300)

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 (4):
  efi: add efi_bootfs_populate API
  timage_types_wic: add do_populate_bootfs task
  image_types_wic: merged 2 tasks
  oe-selftest: add wic tests for generic EFI

 meta-selftest/wic/test_generic_efi.wks.in |  9 ++++
 meta/classes/grub-efi.bbclass             |  6 +++
 meta/classes/image_types_wic.bbclass      | 83 +++++++++++++++++++++++--------
 meta/classes/systemd-boot.bbclass         |  6 +++
 meta/lib/oeqa/selftest/wic.py             | 36 ++++++++++++++
 5 files changed, 118 insertions(+), 22 deletions(-)
 create mode 100644 meta-selftest/wic/test_generic_efi.wks.in

--
Regards,
Ed



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

end of thread, other threads:[~2017-05-10  8:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-10  8:05 [PATCH 0/4] #10073: generic EFI for wic Ed Bartosh
2017-05-10  8:05 ` [PATCH 1/4] efi: add efi_bootfs_populate API Ed Bartosh
2017-05-10  8:05 ` [PATCH 2/4] timage_types_wic: add do_populate_bootfs task Ed Bartosh
2017-05-10  8:05 ` [PATCH 3/4] image_types_wic: merged 2 tasks Ed Bartosh
2017-05-10  8:05 ` [PATCH 4/4] oe-selftest: add wic tests for generic EFI Ed Bartosh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox