[OE-core] [PATCH] systemd-boot.bbclass: Add configuration data to secondary EFI partition

Cal Sullivan california.l.sullivan at intel.com
Wed May 31 00:10:51 UTC 2017


It looks like this was accepted on master. Would it be possible to 
backport this fix to pyro as well?

Thanks,
Cal

On 05/22/2017 10:35 AM, California Sullivan wrote:
> The secondary EFI partition is used when booting in EFI mode, and
> without the configuration data we don't get any boot targets.
>
> Partial fix to [YOCTO #11503].
>
> Signed-off-by: California Sullivan <california.l.sullivan at intel.com>
> ---
>   meta/classes/systemd-boot.bbclass | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/meta/classes/systemd-boot.bbclass b/meta/classes/systemd-boot.bbclass
> index 4e69a2c..9597759 100644
> --- a/meta/classes/systemd-boot.bbclass
> +++ b/meta/classes/systemd-boot.bbclass
> @@ -50,6 +50,7 @@ efi_iso_populate() {
>           efi_populate $iso_dir
>           mkdir -p ${EFIIMGDIR}/${EFIDIR}
>           cp $iso_dir/${EFIDIR}/* ${EFIIMGDIR}${EFIDIR}
> +        cp -r $iso_dir/loader ${EFIIMGDIR}
>           cp $iso_dir/vmlinuz ${EFIIMGDIR}
>           EFIPATH=$(echo "${EFIDIR}" | sed 's/\//\\/g')
>           echo "fs0:${EFIPATH}\\${DEST_EFI_IMAGE}" > ${EFIIMGDIR}/startup.nsh




More information about the Openembedded-core mailing list