]> code.ossystems Code Review - openembedded-core.git/commitdiff
bootimg.bbclass: Tweak iso images to become hybrid images
authorDamien Lespiau <damien.lespiau@intel.com>
Thu, 19 Apr 2012 21:54:25 +0000 (21:54 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 24 Apr 2012 14:51:36 +0000 (15:51 +0100)
This allows iso images to be written to usb keys and booted on systems which
have a BIOS which support this. There is no real down side to tweaking the iso
images in this way.

[YOCTO #1763 partial]

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/bootimg.bbclass

index f4981d8e370b7fbea3510033bf226966773d563b..370b3786f2fc77055d4ce423ab92bec08c758f7f 100644 (file)
@@ -103,6 +103,8 @@ build_iso() {
                        -r ${ISODIR}
        fi
 
+       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