All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] systemd-boot.bbclass: Add configuration data to secondary EFI partition
@ 2017-05-22 17:35 California Sullivan
  2017-05-31  0:10 ` Cal Sullivan
  0 siblings, 1 reply; 3+ messages in thread
From: California Sullivan @ 2017-05-22 17:35 UTC (permalink / raw)
  To: openembedded-core

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@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
-- 
2.5.5



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] systemd-boot.bbclass: Add configuration data to secondary EFI partition
  2017-05-22 17:35 [PATCH] systemd-boot.bbclass: Add configuration data to secondary EFI partition California Sullivan
@ 2017-05-31  0:10 ` Cal Sullivan
  2017-05-31  2:26   ` Otavio Salvador
  0 siblings, 1 reply; 3+ messages in thread
From: Cal Sullivan @ 2017-05-31  0:10 UTC (permalink / raw)
  To: openembedded-core; +Cc: akuster

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@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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] systemd-boot.bbclass: Add configuration data to secondary EFI partition
  2017-05-31  0:10 ` Cal Sullivan
@ 2017-05-31  2:26   ` Otavio Salvador
  0 siblings, 0 replies; 3+ messages in thread
From: Otavio Salvador @ 2017-05-31  2:26 UTC (permalink / raw)
  To: Cal Sullivan
  Cc: akuster@mvista, Patches and discussions about the oe-core layer

On Tue, May 30, 2017 at 9:10 PM, Cal Sullivan
<california.l.sullivan@intel.com> wrote:
> It looks like this was accepted on master. Would it be possible to backport
> this fix to pyro as well?


I support this backport as well.

-- 
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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-05-31  2:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-22 17:35 [PATCH] systemd-boot.bbclass: Add configuration data to secondary EFI partition California Sullivan
2017-05-31  0:10 ` Cal Sullivan
2017-05-31  2:26   ` Otavio Salvador

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.