From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mail.openembedded.org (Postfix) with ESMTP id 45CE06AC4B for ; Wed, 10 May 2017 08:27:18 +0000 (UTC) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga104.jf.intel.com with ESMTP; 10 May 2017 01:27:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.38,318,1491289200"; d="scan'208";a="1128530701" Received: from linux.intel.com ([10.54.29.200]) by orsmga001.jf.intel.com with ESMTP; 10 May 2017 01:27:19 -0700 Received: from vmed.fi.intel.com (vmed.fi.intel.com [10.237.72.38]) by linux.intel.com (Postfix) with ESMTP id 563746A4006 for ; Wed, 10 May 2017 01:27:05 -0700 (PDT) From: Ed Bartosh To: openembedded-core@lists.openembedded.org Date: Wed, 10 May 2017 11:05:07 +0300 Message-Id: X-Mailer: git-send-email 2.1.4 Subject: [PATCH 0/4] #10073: generic EFI for wic X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 May 2017 08:27:20 -0000 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