<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 25, 2016 at 1:33 PM, Christopher Larson <span dir="ltr">&lt;<a href="mailto:chris_larson@mentor.com" target="_blank">chris_larson@mentor.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Wed, May 25, 2016 at 1:31 PM, Christopher Larson <span dir="ltr">&lt;<a href="mailto:kergoth@gmail.com" target="_blank">kergoth@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">From: Christopher Larson &lt;<a href="mailto:chris_larson@mentor.com" target="_blank">chris_larson@mentor.com</a>&gt;<br>
<br>
Currently, wic EFI images don&#39;t end up with startup.nsh, so the user has to<br>
type in the correct bits into the EFI command-line, which isn&#39;t very<br>
user-friendly. mkefidisk.sh in oe-core writes it for us, but we don&#39;t get it<br>
for wic images.<br>
<br>
Alter grub-efi.bbclass and gummiboot.bbclass to write it for the non-iso case,<br>
not only iso, so wic can grab and use it, and alter wic&#39;s bootimg-efi plugin to<br>
do so.</blockquote><div><br></div></span><div>I tested this with success on the MinnowMax board, but that&#39;s the only EFI device I have to test it on, so would appreciate testing from others on this, if possible.</div></blockquote></div><br>I do think a better approach than this would be to make bootimg-efi directly pull from DEPLOY_DIR_IMAGE rather than HDDDIR, since it duplicates the bootloader config writing logic anyway, rather than using some but not all the artifacts from image-live / HDDDIR. Either that, or it should stop writing the bootloader config and rely entirely on the bbclass to set it up. Currently it&#39;s partially one and partially the other, which isn&#39;t ideal, in my opinion.</div><div class="gmail_extra"><br></div><div class="gmail_extra">That said, I think this patch series is worthwhile for now, and we can improve bootimg-efi further from there.<br>-- <br><div class="gmail_signature"><div dir="ltr">Christopher Larson<br>kergoth at gmail dot com<br>Founder - BitBake, OpenEmbedded, OpenZaurus<br>Maintainer - Tslib<br>Senior Software Engineer, Mentor Graphics</div></div>
</div></div>