[OE-core] [PATCH] wic: Generate startup.nsh for EFI cases if none found

Otavio Salvador otavio.salvador at ossystems.com.br
Thu Sep 28 17:46:23 UTC 2017


Hello Tom,

On Thu, Sep 28, 2017 at 2:44 PM, Tom Rini <trini at konsulko.com> wrote:
> On Thu, Sep 28, 2017 at 06:47:07PM +0300, Ed Bartosh wrote:
>> On Wed, Sep 20, 2017 at 12:03:27PM -0400, Tom Rini wrote:
>> > In the case of non-wic images there is logic today to generate a
>> > startup.nsh file that will be executed by EFI to run the loader that the
>> > image contains.  In the WIC case is currently depends on that file being
>> > generated elsewhere and placed in DEPLOY_DIR_IMAGE and only used if
>> > present there.
>>
>> What's wrong with this approach?
>
> No one ever provides a startup.nsh and everyone that wants one creates
> the same one line trivial example.  The end result is that no WIC images
> are Just Bootable on UEFI systems unless you first go and spell that out
> as the desired booting device.  This isn't an awesome workflow which is
> why the non-WIC cases make the required startup.nsh :)

I think it could be done as we did for u-boot-extlinux support.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750



More information about the Openembedded-core mailing list