diff options
author | California Sullivan <california.l.sullivan@intel.com> | 2017-05-22 10:35:01 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-05-25 23:59:32 +0100 |
commit | 1431210bb0f76743a631967cead87a6f1a09d070 (patch) | |
tree | 2a959cc26ede9244415756efffe26df09a96a6d6 /meta/classes/systemd-boot.bbclass | |
parent | 9777af544ca8518a84a417f6fa1ff3f7519d45ac (diff) | |
download | poky-1431210bb0f76743a631967cead87a6f1a09d070.tar.gz |
systemd-boot.bbclass: Add configuration data to secondary EFI partition
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].
(From OE-Core rev: 84aa7a00810e135fdad3f77bdb1da7d1f5fb8627)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/systemd-boot.bbclass')
-rw-r--r-- | meta/classes/systemd-boot.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/systemd-boot.bbclass b/meta/classes/systemd-boot.bbclass index 4412fb1ef7..9f8f75e06c 100644 --- a/meta/classes/systemd-boot.bbclass +++ b/meta/classes/systemd-boot.bbclass | |||
@@ -50,6 +50,7 @@ efi_iso_populate() { | |||
50 | efi_populate $iso_dir | 50 | efi_populate $iso_dir |
51 | mkdir -p ${EFIIMGDIR}/${EFIDIR} | 51 | mkdir -p ${EFIIMGDIR}/${EFIDIR} |
52 | cp $iso_dir/${EFIDIR}/* ${EFIIMGDIR}${EFIDIR} | 52 | cp $iso_dir/${EFIDIR}/* ${EFIIMGDIR}${EFIDIR} |
53 | cp -r $iso_dir/loader ${EFIIMGDIR} | ||
53 | cp $iso_dir/vmlinuz ${EFIIMGDIR} | 54 | cp $iso_dir/vmlinuz ${EFIIMGDIR} |
54 | EFIPATH=$(echo "${EFIDIR}" | sed 's/\//\\/g') | 55 | EFIPATH=$(echo "${EFIDIR}" | sed 's/\//\\/g') |
55 | echo "fs0:${EFIPATH}\\${DEST_EFI_IMAGE}" > ${EFIIMGDIR}/startup.nsh | 56 | echo "fs0:${EFIPATH}\\${DEST_EFI_IMAGE}" > ${EFIIMGDIR}/startup.nsh |