diff options
author | Darren Hart <dvhart@linux.intel.com> | 2012-02-01 16:15:04 -0800 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2012-02-07 14:37:12 -0800 |
commit | 5209016cf4c4c8f649e37dc8857b3fbcfe8dd8c8 (patch) | |
tree | 6c06141b9168d956f190500040896c9aeaeba5c7 /meta/recipes-connectivity/openssl/ocf-linux.inc | |
parent | 26630a9f37b04e215eff9b8e63414b6b2066d6fa (diff) | |
download | openembedded-core-5209016cf4c4c8f649e37dc8857b3fbcfe8dd8c8.tar.gz openembedded-core-5209016cf4c4c8f649e37dc8857b3fbcfe8dd8c8.tar.bz2 openembedded-core-5209016cf4c4c8f649e37dc8857b3fbcfe8dd8c8.tar.xz openembedded-core-5209016cf4c4c8f649e37dc8857b3fbcfe8dd8c8.zip |
bootimg: Use the same OS files for each boot method
Fixes [YOCTO #1951]
The do_bootimg code can generate hybrid efi+pcbios images (syslinux and
grub-efi) to boot on platforms with both EFI and legacy BIOS options. The
current implementation copies the kernel, initrd, and rootfs twice,
unnecessarily bloating the image size. This is an especially egregious bug
on -sato images.
Update the classes to use a common install of the kernel, initrd, and rootfs to
the root of the boot media. Grub-efi, syslinux, and isolinux can all reference
this location explicitly with a leading slash.
Tested with an EFI+PCBIOS image in both EFI and PCBIOS boot modes on two
platforms. No ISO image testing was performed.
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Diffstat (limited to 'meta/recipes-connectivity/openssl/ocf-linux.inc')
0 files changed, 0 insertions, 0 deletions