From: Damien Lespiau Date: Thu, 19 Apr 2012 21:54:25 +0000 (+0000) Subject: bootimg.bbclass: Tweak iso images to become hybrid images X-Git-Tag: 2015-4~10872 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=9a946554e4843841c2ec3cbb2575e80d0ccdc29f;p=openembedded-core.git bootimg.bbclass: Tweak iso images to become hybrid images 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 Signed-off-by: Richard Purdie --- diff --git a/meta/classes/bootimg.bbclass b/meta/classes/bootimg.bbclass index f4981d8e37..370b3786f2 100644 --- a/meta/classes/bootimg.bbclass +++ b/meta/classes/bootimg.bbclass @@ -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