diff options
author | California Sullivan <california.l.sullivan@intel.com> | 2017-06-26 17:52:17 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-07-07 09:19:08 +0100 |
commit | 7c27bf2dd85ee77d643d975add4256e957652a5c (patch) | |
tree | 3d39cddb8f357a9935779d07d1520f6cce6b629d /meta/classes | |
parent | 185f4e7e6e071ea1737088ff318283049b14cb1d (diff) | |
download | poky-7c27bf2dd85ee77d643d975add4256e957652a5c.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 master rev: 84aa7a00810e135fdad3f77bdb1da7d1f5fb8627)
(From OE-Core rev: 915b01258ef426392bb9052c345f952670db4450)
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')
-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 4e69a2c6b5..9597759927 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 |