[meta-intel] [PATCH V2 0/5] Combo app + secure boot support
California Sullivan
california.l.sullivan at intel.com
Thu Jul 6 18:30:43 PDT 2017
Thanks for all the feedback in the last round. Here's the gist of what's
changed with V2:
* Took most of Mikko's simplified app creation. Thanks!
* Dropped multiple apps support. This was complicated and confusing.
* Made the initrd optional.
* Fixed the circular dependency on INITRD_IMAGE, allowing this to be
used as either an IMAGE_CLASSES or EFI_PROVIDER target.
* Fixed issue where INITRD_IMAGE would be added to the initrd twice in
some cases.
* Set up proper dependency chain, making the flow more understandable IMO.
* Added a new generic-bootdisk.wks.in file, which works with the app.
* Set a default UUID in global context, letting the wks template and app
work together out of the box.
* Cleaned up or removed many comments
* Dropped the stub command line enhancement. I need to rebase this against
our current systemd-boot recipe, and should post this upstream, but
getting the comboapp in before M2 comes first.
With the new version, you can set either EFI_PROVIDER = "uefi-comboapp" or
IMAGE_CLASSES += "uefi-comboapp" and it will work.
The wic image needs WKS_FILE = "generic-bootdisk.wks.in", and due to the
limitation in the initrd I mentioned last time around, you must disable
the initrd via INITRD_IMAGE = "" and INITRD_LIVE = "" (or setting to your
own custom initrd). Wei Tee is working on improving the default initrd,
and this won't be necessary in the future.
Please let me know what you think!
Thanks,
Cal
California Sullivan (5):
systemd-boot_%.bbappend: compile and deploy EFI stub
recipes: move sbsigntool from refkit to meta-intel
classes: Add uefi-comboapp bbclass
canned-wks: add generic-bootdisk kickstart template
meta-intel.inc: Set default DISK_SIGNATURE_UUID
classes/uefi-comboapp.bbclass | 155 +++++++++++++++++++++
.../systemd-boot/systemd-boot_%.bbappend | 8 ++
.../sbsigntool/sbsigntool-native_git.bb | 74 ++++++++++
conf/machine/include/meta-intel.inc | 2 +
scripts/lib/wic/canned-wks/generic-bootdisk.wks.in | 6 +
5 files changed, 245 insertions(+)
create mode 100644 classes/uefi-comboapp.bbclass
create mode 100644 common/recipes-support/sbsigntool/sbsigntool-native_git.bb
create mode 100644 scripts/lib/wic/canned-wks/generic-bootdisk.wks.in
--
2.9.4
More information about the meta-intel
mailing list