From: Farhat-Abbas <[email protected]>
*** BLURB HERE ***
Farhat-Abbas (6):
DEPLOY_DIR_IMAGE-Issue-Resolved Required artifacts, to be copied,
are available in 'DEPLOY_DIR_IMAGE' directory pointed to by
'kernel_dir'. The recipe efibootguard.bb stages efibootguard
bootloader to 'DEPLOY_DIR_IMAGE'. So, efibootguard should be
copied from 'kernel_dir'. OE-Core's script
'oe-core/scripts/lib/wic/plugins/source/bootimg-efi.py' is used as
reference. Also, 'HDDDIR' has been removed from 'WICVARS' &
won't be accessible in scripts. 'HDDDIR' was populated ONLY if
'NOHDD=1' but images can be built w/o it, so it was optional but
'DEPLOY_DIR_IMAGE' is always populated with the required artifacts.
WIC Error Handling is broken, no module named 'os_exit()' is
available.
Remove Extra Imports, that are not being used at all.
INITRD file must be copied to BOOT partition when specified.
INITRD files are available in 'DEPLOY_DIR_IMAGE' directory pointed
to by 'kernel_dir'. It can be copied to BOOT partition, when
specified in 'source-params' by WKS file. OE-Core's script
'oe-core/scripts/lib/wic/plugins/source/bootimg-efi.py' is used as
reference.
Copy only the efibootguard bootloader to the EFI partition properly.
There isn't any EFI/BOOT directory in the 'DEPLOY_DIR_IMAGE'
directory & efibootguard is present at top level in it, possibly
alongwith other *efi bootloaders like grub-efi. Only
efibootguard bootloader should be copied to the image from here,
in the required architecture specific naming convention. This
patch updates the script to the latest OE-Core tree with file
'oe-core/scripts/lib/wic/plugins/source/bootimg-efi.py' as
reference.
Updated README file, tested with updated Poky(rocko)
README.md | 6 +++---
.../lib/wic/plugins/source/efibootguard-boot.py | 21 +++++++++++++++------
scripts/lib/wic/plugins/source/efibootguard-efi.py | 22 ++++++++++++++--------
3 files changed, 32 insertions(+), 17 deletions(-)
--
2.7.4
--
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/efibootguard-dev/1519211476-6350-1-git-send-email-Farhat_Abbas%40mentor.com.
For more options, visit https://groups.google.com/d/optout.