Ah, thanks for the example! The part I was missing was that there needs to
be a core-image-minimal.bbappend that adds
DEPENDS += "gptfdisk-native efibootguard-native"

Now I can compile. Thanks!

On Wed, April 29, 2020 9:48 am, Jan Kiszka wrote:
> On 29.04.20 17:36, Tom Steer wrote:
>
>> Hello,
>>
>>
>> I am trying to build a simple Yocto image using EFIBootguard.
>>
>>
>> I am using Yocto version "zeus". Steps are simply:
>>
>>
>> $ git clone -b zeus git://git.yoctoproject.org/poky
>> $ cd poky
>> $ git clone https://github.com/siemens/meta-efibootguard.git
>>
>>
>> Then edit local.conf to add:
>> MACHINE ?= "genericx86-64"
>> EFI_PROVIDER="efibootguard"
>>
>>
>> Edit bblayers.conf to add the meta-efibootguard layer
>>
>>
>> Add my own recipe with the suggested .wic image info
>>
>>
>> Then run : bitbake core-image-minimal
>>
>>
>> On build I get:
>> Exception: FileNotFoundError: [Errno 2] No such file or directory:
>> '/home/tom/testyocto/poky/build/tmp/work/genericx86_64-poky-linux/core-i
>> mage-minimal/1.0-r0/recipe-sysroot-native/usr/bin/bg_setenv'
>>
>> It seems like bg_setenv is not being installed correctly - is there a
>> dependency that needs to be added somewhere?
>>
>
> I don't recall such an issue, but I did succeed building ebg for zeus,
> see https://github.com/siemens/meta-iot2000/commits/jan/zeus
>
> Jan
>
>
> --
> Siemens AG, Corporate Technology, CT RDA IOT SES-DE
> Corporate Competence Center Embedded Linux
>
>

-- 
You received this message because you are subscribed to the Google Groups "EFI 
Boot Guard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/efibootguard-dev/f58ce29e85cc46e6690be571b5319437.squirrel%40box5893.bluehost.com.

Reply via email to