diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2011-11-10 18:29:50 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-11-18 14:24:40 +0000 |
commit | 321a7dc9d934f31aae27828ff8c56d6c69ecc665 (patch) | |
tree | 00c3df502733b747ba6a0a60420456dbb5b99684 /meta/classes/bootimg.bbclass | |
parent | 812342e44e9e361a0fa93cfcfe65cf4dd6f2fb57 (diff) | |
download | openembedded-core-321a7dc9d934f31aae27828ff8c56d6c69ecc665.tar.gz openembedded-core-321a7dc9d934f31aae27828ff8c56d6c69ecc665.tar.bz2 openembedded-core-321a7dc9d934f31aae27828ff8c56d6c69ecc665.tar.xz openembedded-core-321a7dc9d934f31aae27828ff8c56d6c69ecc665.zip |
bootimg: Create a valid boot sector for the iso image
It's possible to create an "hybrid" iso image that you can both burn
to a CD-Rom and dd to a USB key. isohybrid will create a valid boot
sector for the USB key case.
[YOCTO #1763]
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/bootimg.bbclass')
-rw-r--r-- | meta/classes/bootimg.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/bootimg.bbclass b/meta/classes/bootimg.bbclass index eecc2bf7e..391431125 100644 --- a/meta/classes/bootimg.bbclass +++ b/meta/classes/bootimg.bbclass @@ -111,6 +111,8 @@ build_boot_bin() { -no-emul-boot -boot-load-size 4 -boot-info-table \ ${S}/cd/ + isohybrid ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.iso + cd ${DEPLOY_DIR_IMAGE} rm -f ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.iso ln -s ${IMAGE_NAME}.iso ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.iso |