On Wed, Nov 22, 2017 at 03:13:38AM -0800, 'Matthias Schöpfer' via EFI Boot Guard wrote:
> Hi there,
>
> I came across efibootguard, and it seems to be doing what I am looking for.
> Even though, the integration with swupdate is pending, I guess, it is
> possible to solve this by using post install scripts...
>
> I am using yocto rocko, so I cloned meta-efibootguard, did what was asked
Hi,
as we have never tested it with rocko we currently have no support for
this version.
> for in the Readme. I then ran into some wic issues: The import locations
> seem to have changed recently, but nothing I could not handle. Anyhow, now
> I am stuck here:
> | DEBUG: Python function extend_recipe_sysroot finished
> | DEBUG: Executing shell function do_image_wic
> | INFO: Creating image(s)...
> |
> | ERROR: _exec_cmd: cp
> /home/mschoepf/foo/yocto/build/tmp/work/mic_7700-idp-linux/core-image-fts/1.0-r0/recipe-sysroot/usr/share/EFI/BOOT/*
> /home/mschoepf/foo/yocto/build/tmp/work/mic_7700-idp-linux/core-image-fts/1.0-r0/deploy-core-image-fts-image-complete/core-image-fts-mic-7700-20171122105906/tmp.wic.ve8_m7nf/hdd/efi.1/EFI/BOOT
> returned '1' instead of 0
> | output: cp: cannot stat
> '/home/mschoepf/foo/yocto/build/tmp/work/mic_7700-idp-linux/core-image-fts/1.0-r0/recipe-sysroot/usr/share/EFI/BOOT/*':
> No such file or directory
It seems the directory is empty and the '*' is not globbed but taken as
filename. Reasen is that either the deployment had not taken place
before or the deployment location has changed (again). You could do a
find for the files which are tried to be copied by the python plugin
files and adapt the paths to have a quick fix.
Kind regards,
Andreas
> Can someone with more insight in the process give me a clue what is going
> wrong here?!
>
> Thanks,
>
> Matthias
>
> --
> 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
efibootguard-d...@googlegroups.com.
> To post to this group, send email to
efibootg...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/efibootguard-dev/ce039965-7d1d-413a-b9dc-0d10b2c97983%40googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.
--
Andreas Reichel
Dipl.-Phys. (Univ.)
Software Consultant
Andreas...@tngtech.com,
+49-174-3180074
TNG Technology Consulting GmbH, Betastr. 13a, 85774 Unterfoehring
Geschaeftsfuehrer: Henrik Klagges, Dr. Robert Dahlke, Gerhard Mueller
Sitz: Unterfoehring * Amtsgericht Muenchen * HRB 135082